Commit 91efdbfe8aa71e794fa56d459c4d128f9fd41039

Authored by Thiago Franco de Moraes
1 parent 4b6c08a8

added a icon to the watershed configuration

icons/configuration.png 0 → 100644

614 Bytes

invesalius/gui/task_slice.py
... ... @@ -779,7 +779,9 @@ class WatershedTool(EditionTools):
779 779 self.ww_wl_cbox = ww_wl_cbox
780 780  
781 781 # Line 6
782   - self.btn_wconfig = wx.Button(self, -1, "C", size=(48, -1))
  782 + bmp = wx.Bitmap("../icons/configuration.png", wx.BITMAP_TYPE_PNG)
  783 + self.btn_wconfig = wx.BitmapButton(self, -1, bitmap=bmp,
  784 + size=(bmp.GetWidth()+10, bmp.GetHeight()+10))
783 785 self.btn_exp_watershed = wx.Button(self, -1, _('Expand watershed to 3D'))
784 786  
785 787 sizer_btns = wx.BoxSizer(wx.HORIZONTAL)
... ...