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