From 14347324f317087cac00645300063814fa840064 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Wed, 29 Sep 2010 21:09:06 +0300 Subject: [PATCH] Shipbrowser searchctrl pos fix attempt (macs sucks) --- gui/shipBrowser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 4f0da17f0..e4f33596d 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -376,7 +376,7 @@ class ShipMenu(wx.Panel): self.search = wx.SearchCtrl(p, wx.ID_ANY, style=wx.TE_PROCESS_ENTER) self.search.ShowCancelButton(True) - psizer.Add(self.search, 1, wx.EXPAND | wx.TOP, 2) - p.SetMinSize((wx.SIZE_AUTO_WIDTH, 27)) + psizer.Add(self.search, 1, wx.EXPAND | wx.ALIGN_CENTER_VERTICAL) +# p.SetMinSize((wx.SIZE_AUTO_WIDTH, 27)) sizer.Add(p, 1, wx.EXPAND)