From 9cb38f12c9ed96992213efa5025a20fdafd711a7 Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Sun, 22 Aug 2010 21:05:15 +0200 Subject: [PATCH] Position metaGroup buttons nicely --- gui/marketBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/marketBrowser.py b/gui/marketBrowser.py index a71633e7b..1ce2255ed 100644 --- a/gui/marketBrowser.py +++ b/gui/marketBrowser.py @@ -95,7 +95,7 @@ class MarketBrowser(wx.Panel): for name in ("normal", "faction", "complex", "officer"): btn = wx.Button(p, wx.ID_ANY, name.capitalize(), style=wx.BU_EXACTFIT) setattr(self, name, btn) - box.Add(btn, 0) + box.Add(btn, 1, wx.ALIGN_CENTER) p.SetMinSize((wx.SIZE_AUTO_WIDTH, btn.GetSize()[1] + 5))