Commit e173d735f813f27c7e8c3bc9248c7686defd5d88

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

the size of the buttons inside of data_notebook

Showing 1 changed file with 13 additions and 13 deletions   Show diff stats
invesalius/gui/data_notebook.py
@@ -162,16 +162,16 @@ class MeasureButtonControlPanel(wx.Panel): @@ -162,16 +162,16 @@ class MeasureButtonControlPanel(wx.Panel):
162 button_new = pbtn.PlateButton(self, BTN_NEW, "", 162 button_new = pbtn.PlateButton(self, BTN_NEW, "",
163 BMP_NEW, 163 BMP_NEW,
164 style=button_style, 164 style=button_style,
165 - size = wx.Size(18, 18)) 165 + size = wx.Size(24, 20))
166 self.button_new = button_new 166 self.button_new = button_new
167 button_remove = pbtn.PlateButton(self, BTN_REMOVE, "", 167 button_remove = pbtn.PlateButton(self, BTN_REMOVE, "",
168 BMP_REMOVE, 168 BMP_REMOVE,
169 style=button_style, 169 style=button_style,
170 - size = wx.Size(18, 18)) 170 + size = wx.Size(24, 20))
171 button_duplicate = pbtn.PlateButton(self, BTN_DUPLICATE, "", 171 button_duplicate = pbtn.PlateButton(self, BTN_DUPLICATE, "",
172 BMP_DUPLICATE, 172 BMP_DUPLICATE,
173 style=button_style, 173 style=button_style,
174 - size = wx.Size(18, 18)) 174 + size = wx.Size(24, 20))
175 button_duplicate.Disable() 175 button_duplicate.Disable()
176 176
177 # Add all controls to gui 177 # Add all controls to gui
@@ -276,15 +276,15 @@ class ButtonControlPanel(wx.Panel): @@ -276,15 +276,15 @@ class ButtonControlPanel(wx.Panel):
276 button_new = pbtn.PlateButton(self, BTN_NEW, "", 276 button_new = pbtn.PlateButton(self, BTN_NEW, "",
277 BMP_NEW, 277 BMP_NEW,
278 style=button_style, 278 style=button_style,
279 - size = wx.Size(18, 18)) 279 + size = wx.Size(24, 20))
280 button_remove = pbtn.PlateButton(self, BTN_REMOVE, "", 280 button_remove = pbtn.PlateButton(self, BTN_REMOVE, "",
281 BMP_REMOVE, 281 BMP_REMOVE,
282 style=button_style, 282 style=button_style,
283 - size = wx.Size(18, 18)) 283 + size = wx.Size(24, 20))
284 button_duplicate = pbtn.PlateButton(self, BTN_DUPLICATE, "", 284 button_duplicate = pbtn.PlateButton(self, BTN_DUPLICATE, "",
285 BMP_DUPLICATE, 285 BMP_DUPLICATE,
286 style=button_style, 286 style=button_style,
287 - size = wx.Size(18, 18)) 287 + size = wx.Size(24, 20))
288 288
289 # Add all controls to gui 289 # Add all controls to gui
290 sizer = wx.BoxSizer(wx.HORIZONTAL) 290 sizer = wx.BoxSizer(wx.HORIZONTAL)
@@ -444,7 +444,7 @@ class MasksListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): @@ -444,7 +444,7 @@ class MasksListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
444 self.InsertColumn(1, _("Name")) 444 self.InsertColumn(1, _("Name"))
445 self.InsertColumn(2, _("Threshold"), wx.LIST_FORMAT_RIGHT) 445 self.InsertColumn(2, _("Threshold"), wx.LIST_FORMAT_RIGHT)
446 446
447 - self.SetColumnWidth(0, 20) 447 + self.SetColumnWidth(0, 25)
448 self.SetColumnWidth(1, 120) 448 self.SetColumnWidth(1, 120)
449 self.SetColumnWidth(2, 90) 449 self.SetColumnWidth(2, 90)
450 450
@@ -595,15 +595,15 @@ class SurfaceButtonControlPanel(wx.Panel): @@ -595,15 +595,15 @@ class SurfaceButtonControlPanel(wx.Panel):
595 button_new = pbtn.PlateButton(self, BTN_NEW, "", 595 button_new = pbtn.PlateButton(self, BTN_NEW, "",
596 BMP_NEW, 596 BMP_NEW,
597 style=button_style, 597 style=button_style,
598 - size = wx.Size(18, 18)) 598 + size = wx.Size(24, 20))
599 button_remove = pbtn.PlateButton(self, BTN_REMOVE, "", 599 button_remove = pbtn.PlateButton(self, BTN_REMOVE, "",
600 BMP_REMOVE, 600 BMP_REMOVE,
601 style=button_style, 601 style=button_style,
602 - size = wx.Size(18, 18)) 602 + size = wx.Size(24, 20))
603 button_duplicate = pbtn.PlateButton(self, BTN_DUPLICATE, "", 603 button_duplicate = pbtn.PlateButton(self, BTN_DUPLICATE, "",
604 BMP_DUPLICATE, 604 BMP_DUPLICATE,
605 style=button_style, 605 style=button_style,
606 - size = wx.Size(18, 18)) 606 + size = wx.Size(24, 20))
607 607
608 # Add all controls to gui 608 # Add all controls to gui
609 sizer = wx.BoxSizer(wx.HORIZONTAL) 609 sizer = wx.BoxSizer(wx.HORIZONTAL)
@@ -768,7 +768,7 @@ class SurfacesListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): @@ -768,7 +768,7 @@ class SurfacesListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
768 self.InsertColumn(2, _(u"Volume (mm³)")) 768 self.InsertColumn(2, _(u"Volume (mm³)"))
769 self.InsertColumn(3, _("Transparency"), wx.LIST_FORMAT_RIGHT) 769 self.InsertColumn(3, _("Transparency"), wx.LIST_FORMAT_RIGHT)
770 770
771 - self.SetColumnWidth(0, 20) 771 + self.SetColumnWidth(0, 25)
772 self.SetColumnWidth(1, 85) 772 self.SetColumnWidth(1, 85)
773 self.SetColumnWidth(2, 85) 773 self.SetColumnWidth(2, 85)
774 self.SetColumnWidth(3, 80) 774 self.SetColumnWidth(3, 80)
@@ -1008,7 +1008,7 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): @@ -1008,7 +1008,7 @@ class MeasuresListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
1008 self.InsertColumn(3, _("Type")) 1008 self.InsertColumn(3, _("Type"))
1009 self.InsertColumn(4, _("Value"), wx.LIST_FORMAT_RIGHT) 1009 self.InsertColumn(4, _("Value"), wx.LIST_FORMAT_RIGHT)
1010 1010
1011 - self.SetColumnWidth(0, 20) 1011 + self.SetColumnWidth(0, 25)
1012 self.SetColumnWidth(1, 65) 1012 self.SetColumnWidth(1, 65)
1013 self.SetColumnWidth(2, 55) 1013 self.SetColumnWidth(2, 55)
1014 self.SetColumnWidth(3, 50) 1014 self.SetColumnWidth(3, 50)
@@ -1199,7 +1199,7 @@ class AnnotationsListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin): @@ -1199,7 +1199,7 @@ class AnnotationsListCtrlPanel(wx.ListCtrl, listmix.TextEditMixin):
1199 self.InsertColumn(2, _("Type"), wx.LIST_FORMAT_CENTER) 1199 self.InsertColumn(2, _("Type"), wx.LIST_FORMAT_CENTER)
1200 self.InsertColumn(3, _("Value")) 1200 self.InsertColumn(3, _("Value"))
1201 1201
1202 - self.SetColumnWidth(0, 20) 1202 + self.SetColumnWidth(0, 25)
1203 self.SetColumnWidth(1, 90) 1203 self.SetColumnWidth(1, 90)
1204 self.SetColumnWidth(2, 50) 1204 self.SetColumnWidth(2, 50)
1205 self.SetColumnWidth(3, 120) 1205 self.SetColumnWidth(3, 120)