From a841aaf5117cc25f65801b8b93082afee36a9c98 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Tue, 17 May 2011 19:18:24 +0300 Subject: [PATCH] Moved shipbrowser's nav panel into its main sizer. Less headaches if we decide to use a vertical layout for race selection and ship items --- gui/shipBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 1b20adb66..da004cedf 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -522,11 +522,11 @@ class ShipBrowser(wx.Panel): layout = wx.HORIZONTAL self.navpanel = NavigationPanel(self) + mainSizer.Add(self.navpanel, 0 , wx.EXPAND) self.raceselect = RaceSelector(self, layout = layout, animate = False) container = wx.BoxSizer(wx.VERTICAL if layout == wx.HORIZONTAL else wx.HORIZONTAL) if layout == wx.HORIZONTAL: - container.Add(self.navpanel,0,wx.EXPAND) container.Add(self.lpane,1,wx.EXPAND) container.Add(self.raceselect,0,wx.EXPAND) else: