Commit 2aaeeaf7cce3eb6216ff0dee9f5530a710c354db
1 parent
29d7cf82
Exists in
wxgtk3_bkp
showing the buttons when importing a dicom
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
invesalius/gui/import_panel.py
@@ -110,16 +110,16 @@ class InnerPanel(wx.Panel): | @@ -110,16 +110,16 @@ class InnerPanel(wx.Panel): | ||
110 | 110 | ||
111 | sizer = wx.BoxSizer(wx.VERTICAL) | 111 | sizer = wx.BoxSizer(wx.VERTICAL) |
112 | sizer.Add(splitter, 20, wx.EXPAND) | 112 | sizer.Add(splitter, 20, wx.EXPAND) |
113 | - sizer.Add(panel, 1, wx.EXPAND|wx.LEFT, 90) | ||
114 | - | ||
115 | - self.SetSizer(sizer) | ||
116 | - sizer.Fit(self) | 113 | + sizer.Add(panel, 0, wx.EXPAND|wx.LEFT, 90) |
117 | 114 | ||
118 | self.text_panel = TextPanel(splitter) | 115 | self.text_panel = TextPanel(splitter) |
119 | splitter.AppendWindow(self.text_panel, 250) | 116 | splitter.AppendWindow(self.text_panel, 250) |
120 | 117 | ||
121 | self.image_panel = ImagePanel(splitter) | 118 | self.image_panel = ImagePanel(splitter) |
122 | splitter.AppendWindow(self.image_panel, 250) | 119 | splitter.AppendWindow(self.image_panel, 250) |
120 | + | ||
121 | + self.SetSizer(sizer) | ||
122 | + sizer.Fit(self) | ||
123 | 123 | ||
124 | self.Layout() | 124 | self.Layout() |
125 | self.Update() | 125 | self.Update() |