Commit 3b44f50b88e76596f702df8844d7faff16eee3aa
1 parent
3b74aec3
Exists in
master
and in
6 other branches
FIX: Toolbar icon size under Win and Linux
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
invesalius/gui/frame.py
... | ... | @@ -312,7 +312,8 @@ class LayoutToolBar(wx.ToolBar): |
312 | 312 | # TODO: what will appear in menubar? |
313 | 313 | def __init__(self, parent): |
314 | 314 | wx.ToolBar.__init__(self, parent, -1, wx.DefaultPosition, wx.DefaultSize, wx.TB_FLAT|wx.TB_NODIVIDER) |
315 | - self.SetToolBitmapSize(wx.Size(25,25)) | |
315 | + if sys.platform == 'darwin': | |
316 | + self.SetToolBitmapSize(wx.Size(25,25)) | |
316 | 317 | self.parent = parent |
317 | 318 | self.__init_items() |
318 | 319 | self.__bind_events() | ... | ... |