From 7c15fa557fa44c62b9725e3cbd81559c8ec6c840 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Mon, 30 Aug 2010 17:03:32 +0300 Subject: [PATCH] Small fix in statspane -- removed duplicate staticline in minipanel --- gui/statsPane.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/statsPane.py b/gui/statsPane.py index 1858dc31d..4b1084c6a 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -347,12 +347,13 @@ class StatsPane(wx.Panel): setattr(self, "gauge%s%s" % (panel.capitalize(),capitalizedType), gauge) stats.Add(gauge, 0, wx.ALIGN_CENTER) - if panel == "mini": + if i >0 and panel == "mini": base.Add(wx.StaticLine(parent, wx.ID_ANY, style=wx.HORIZONTAL), 0, wx.EXPAND) if i == 0 and panel == "full": base.Add(wx.StaticLine(parent, wx.ID_ANY, style=wx.VERTICAL), 0, wx.EXPAND) + # Resistances sizerHeaderResistances = wx.BoxSizer(wx.HORIZONTAL) self.sizerBase.Add(sizerHeaderResistances, 0, wx.EXPAND | wx.LEFT, 3)