From 1c451af3c47ecd25f0201d2bdeb09c365eaf6e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20B=C3=B6lter?= Date: Sat, 13 Nov 2010 20:01:29 +0100 Subject: [PATCH] Fixed fontSize hack for shipBrowser on mac (until darriele finds a proper solution) --- gui/shipBrowser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 4fa790b10..da2a3d103 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -941,8 +941,8 @@ class CategoryItem(wx.Window): mdc.DrawBitmap(self.shipBmp,5+(rect.height-self.shipBmp.GetHeight())/2,(rect.height-self.shipBmp.GetWidth())/2,0) fontSize = 8 - if 'wxMAC' in wx.PlatformInfo: - fontSize = 10 + if 'wxMac' in wx.PlatformInfo: + fontSize = 12 mdc.SetFont(wx.Font(fontSize, wx.SWISS, wx.NORMAL, wx.NORMAL, False))