Commit 9cd06cb58e6743b207041a5c76832347112f0e0c
1 parent
962a6701
Exists in
master
and in
6 other branches
FIX: Second try on toolbar size under linux and win
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
invesalius/gui/frame.py
@@ -314,6 +314,8 @@ class LayoutToolBar(wx.ToolBar): | @@ -314,6 +314,8 @@ class LayoutToolBar(wx.ToolBar): | ||
314 | wx.ToolBar.__init__(self, parent, -1, wx.DefaultPosition, wx.DefaultSize, wx.TB_FLAT|wx.TB_NODIVIDER) | 314 | wx.ToolBar.__init__(self, parent, -1, wx.DefaultPosition, wx.DefaultSize, wx.TB_FLAT|wx.TB_NODIVIDER) |
315 | if sys.platform == 'darwin': | 315 | if sys.platform == 'darwin': |
316 | self.SetToolBitmapSize(wx.Size(25,25)) | 316 | self.SetToolBitmapSize(wx.Size(25,25)) |
317 | + else: | ||
318 | + self.SetToolBitmapSize(wx.Size(16,16)) | ||
317 | self.parent = parent | 319 | self.parent = parent |
318 | self.__init_items() | 320 | self.__init_items() |
319 | self.__bind_events() | 321 | self.__bind_events() |