Commit dd2cfc65c117f5e015f0e65d2f2c535260e1c44c

Authored by Paulo Henrique Junqueira Amorim
1 parent 8e7b40e9

ENH: Better adjust in BMP import dialog to input spacing

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/gui/dialogs.py
@@ -2038,7 +2038,8 @@ class ImportBitmapParameters(wx.Dialog): @@ -2038,7 +2038,8 @@ class ImportBitmapParameters(wx.Dialog):
2038 box.AddSizer(gbs_principal, 1, wx.ALL|wx.EXPAND, 10) 2038 box.AddSizer(gbs_principal, 1, wx.ALL|wx.EXPAND, 10)
2039 2039
2040 p.SetSizer(box) 2040 p.SetSizer(box)
2041 - 2041 + box.Fit(self)
  2042 + self.Layout()
2042 2043
2043 def bind_evts(self): 2044 def bind_evts(self):
2044 self.btn_ok.Bind(wx.EVT_BUTTON, self.OnOk) 2045 self.btn_ok.Bind(wx.EVT_BUTTON, self.OnOk)