diff --git a/gui/mainFrame.py b/gui/mainFrame.py index 002c6da23..ff6832a23 100644 --- a/gui/mainFrame.py +++ b/gui/mainFrame.py @@ -73,7 +73,7 @@ class MainFrame(wx.Frame): self.splitter = wx.SplitterWindow(self, style = wx.SP_LIVE_UPDATE) - mainSizer.Add(self.splitter,1,wx.EXPAND) + mainSizer.Add(self.splitter,1,wx.EXPAND | wx.LEFT, 2) self.FitviewAdditionsPanel = PFPanel(self.splitter) faSizer = wx.BoxSizer(wx.VERTICAL) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index fd36e47c0..76257f3a4 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -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 = 10 + mdc.SetFont(wx.Font(fontSize, wx.SWISS, wx.NORMAL, wx.NORMAL, False)) @@ -1284,9 +1287,12 @@ class PFBitmapFrame(wx.Frame): self.timer = wx.Timer(self,wx.ID_ANY) self.direction = 1 self.transp = 0 - self.SetRoundShape() + self.SetSize((bitmap.GetWidth(),bitmap.GetHeight())) + if 'wxMSW' in wx.PlatformInfo: + self.SetRoundShape() + else: + self.SetTransparent(0) self.Refresh() - self.Update() def OnTimer(self, event): self.transp += 20*self.direction