From a6321a5e6837ddb620ec0ef124f5734d537cdfc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 15 Mar 2019 12:56:32 +0100 Subject: [PATCH] Resize wizard dialog on show Setting default size is not enough if the wizard was already shown. issue8178 review56641003 --- tryton/gui/window/wizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tryton/gui/window/wizard.py b/tryton/gui/window/wizard.py index f299564a47..77ded24e82 100644 --- a/tryton/gui/window/wizard.py +++ b/tryton/gui/window/wizard.py @@ -417,6 +417,7 @@ class WizardDialog(Wizard, NoModal): else: width, height = -1, -1 self.dia.set_default_size(max(200, width), height) + self.dia.resize(*self.dia.get_default_size()) self.dia.show() def hide(self):