Commit f6aaa89ad41e78a8d6792f32379aebb12c8320ab
1 parent
df49d7bd
Exists in
master
FIX: remove NDI wx.expand
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/gui/dialogs.py
... | ... | @@ -4092,20 +4092,20 @@ class SetNDIconfigs(wx.Dialog): |
4092 | 4092 | wildcard="Rom files (*.rom)|*.rom", message="Select probe's rom file") |
4093 | 4093 | row_probe = wx.BoxSizer(wx.VERTICAL) |
4094 | 4094 | row_probe.Add(wx.StaticText(self, wx.ID_ANY, "Set probe's rom file"), 0, wx.TOP|wx.RIGHT, 5) |
4095 | - row_probe.Add(self.dir_probe, 0, wx.EXPAND|wx.ALIGN_CENTER) | |
4095 | + row_probe.Add(self.dir_probe, 0, wx.ALIGN_CENTER) | |
4096 | 4096 | |
4097 | 4097 | self.dir_ref = wx.FilePickerCtrl(self, path=last_ndi_ref_marker, style=wx.FLP_USE_TEXTCTRL|wx.FLP_SMALL, |
4098 | 4098 | wildcard="Rom files (*.rom)|*.rom", message="Select reference's rom file") |
4099 | 4099 | row_ref = wx.BoxSizer(wx.VERTICAL) |
4100 | 4100 | row_ref.Add(wx.StaticText(self, wx.ID_ANY, "Set reference's rom file"), 0, wx.TOP | wx.RIGHT, 5) |
4101 | - row_ref.Add(self.dir_ref, 0, wx.EXPAND|wx.ALIGN_CENTER) | |
4101 | + row_ref.Add(self.dir_ref, 0, wx.ALIGN_CENTER) | |
4102 | 4102 | |
4103 | 4103 | self.dir_obj = wx.FilePickerCtrl(self, path=last_ndi_obj_marker, style=wx.FLP_USE_TEXTCTRL|wx.FLP_SMALL, |
4104 | 4104 | wildcard="Rom files (*.rom)|*.rom", message="Select object's rom file") |
4105 | 4105 | #self.dir_probe.Bind(wx.EVT_FILEPICKER_CHANGED, self.Selected) |
4106 | 4106 | row_obj = wx.BoxSizer(wx.VERTICAL) |
4107 | 4107 | row_obj.Add(wx.StaticText(self, wx.ID_ANY, "Set object's rom file"), 0, wx.TOP|wx.RIGHT, 5) |
4108 | - row_obj.Add(self.dir_obj, 0, wx.EXPAND|wx.ALIGN_CENTER) | |
4108 | + row_obj.Add(self.dir_obj, 0, wx.ALIGN_CENTER) | |
4109 | 4109 | |
4110 | 4110 | btn_ok = wx.Button(self, wx.ID_OK) |
4111 | 4111 | btn_ok.SetHelpText("") | ... | ... |