Commit 1069a8c18682b378238ba973db7f0b71c6214caf
1 parent
752dd142
Exists in
wx2.9_mac
some changes to show task slice buttons
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/gui/task_slice.py
@@ -64,7 +64,7 @@ class TaskPanel(wx.Panel): | @@ -64,7 +64,7 @@ class TaskPanel(wx.Panel): | ||
64 | 64 | ||
65 | class InnerTaskPanel(wx.Panel): | 65 | class InnerTaskPanel(wx.Panel): |
66 | def __init__(self, parent): | 66 | def __init__(self, parent): |
67 | - wx.Panel.__init__(self, parent) | 67 | + wx.Panel.__init__(self, parent, size=(50, 240)) |
68 | self.SetBackgroundColour(wx.Colour(255,255,255)) | 68 | self.SetBackgroundColour(wx.Colour(255,255,255)) |
69 | self.SetAutoLayout(1) | 69 | self.SetAutoLayout(1) |
70 | 70 | ||
@@ -717,7 +717,7 @@ class EditionTools(wx.Panel): | @@ -717,7 +717,7 @@ class EditionTools(wx.Panel): | ||
717 | 717 | ||
718 | class WatershedTool(EditionTools): | 718 | class WatershedTool(EditionTools): |
719 | def __init__(self, parent): | 719 | def __init__(self, parent): |
720 | - wx.Panel.__init__(self, parent, size=(50,150)) | 720 | + wx.Panel.__init__(self, parent, size=(50,220)) |
721 | default_colour = wx.SystemSettings_GetColour(wx.SYS_COLOUR_MENUBAR) | 721 | default_colour = wx.SystemSettings_GetColour(wx.SYS_COLOUR_MENUBAR) |
722 | self.SetBackgroundColour(default_colour) | 722 | self.SetBackgroundColour(default_colour) |
723 | 723 |