From dd2cfc65c117f5e015f0e65d2f2c535260e1c44c Mon Sep 17 00:00:00 2001 From: Paulo Henrique Junqueira Amorim Date: Thu, 11 May 2017 10:43:00 -0300 Subject: [PATCH] ENH: Better adjust in BMP import dialog to input spacing --- invesalius/gui/dialogs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/invesalius/gui/dialogs.py b/invesalius/gui/dialogs.py index 57a3744..2a9eaed 100644 --- a/invesalius/gui/dialogs.py +++ b/invesalius/gui/dialogs.py @@ -2038,7 +2038,8 @@ class ImportBitmapParameters(wx.Dialog): box.AddSizer(gbs_principal, 1, wx.ALL|wx.EXPAND, 10) p.SetSizer(box) - + box.Fit(self) + self.Layout() def bind_evts(self): self.btn_ok.Bind(wx.EVT_BUTTON, self.OnOk) -- libgit2 0.21.2