Commit 337d4d67cf534201891686e36e473eabe7ccc678

Authored by Thiago Franco de Moraes
1 parent ce174c0d
Exists in wxgtk3_bkp

Putting combobox thresholds presets in a new line

Showing 1 changed file with 2 additions and 4 deletions   Show diff stats
invesalius/gui/task_slice.py
... ... @@ -366,9 +366,6 @@ class MaskProperties(wx.Panel):
366 366 combo_thresh.SetWindowVariant(wx.WINDOW_VARIANT_SMALL)
367 367 self.combo_thresh = combo_thresh
368 368  
369   - line2 = wx.BoxSizer(wx.HORIZONTAL)
370   - line2.Add(text_thresh, 0, wx.GROW|wx.EXPAND|wx.ALL, 5)
371   - line2.Add(combo_thresh, 0, wx.EXPAND|wx.GROW|wx.TOP|wx.RIGHT, 2)
372 369  
373 370 ## LINE 4
374 371 gradient = grad.GradientCtrl(self, -1, -5000, 5000, 0, 5000,
... ... @@ -378,7 +375,8 @@ class MaskProperties(wx.Panel):
378 375 # Add all lines into main sizer
379 376 sizer = wx.BoxSizer(wx.VERTICAL)
380 377 sizer.Add(line1, 0, wx.GROW|wx.EXPAND|wx.LEFT|wx.RIGHT|wx.TOP, 5)
381   - sizer.Add(line2, 0, wx.GROW|wx.EXPAND|wx.LEFT|wx.RIGHT, 5)
  378 + sizer.Add(text_thresh, 0, wx.GROW|wx.EXPAND|wx.ALL, 5)
  379 + sizer.Add(combo_thresh, 0, wx.EXPAND|wx.GROW|wx.TOP|wx.RIGHT, 2)
382 380 sizer.Add(gradient, 1, wx.EXPAND|wx.TOP|wx.LEFT|wx.RIGHT|wx.BOTTOM, 6)
383 381 sizer.Fit(self)
384 382  
... ...