Use a bigger font size for GroupItem in case of wxMAC
This commit is contained in:
@@ -944,7 +944,10 @@ class CategoryItem(wx.Window):
|
||||
mdc.Clear()
|
||||
|
||||
mdc.DrawBitmap(self.shipBmp,5+(rect.height-self.shipBmp.GetHeight())/2,(rect.height-self.shipBmp.GetWidth())/2,0)
|
||||
mdc.SetFont(wx.Font(8, wx.SWISS, wx.NORMAL, wx.NORMAL, False))
|
||||
fontSize = 8
|
||||
if 'wxMAC' in wx.PlatformInfo:
|
||||
fontSize = 9
|
||||
mdc.SetFont(wx.Font(9, wx.SWISS, wx.NORMAL, wx.NORMAL, False))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user