Added togglepanel->header.layout to all statsview comps in refreshPanel

This commit is contained in:
HomeWorld
2010-10-03 13:42:19 +03:00
parent a45798bd1f
commit 978d1e5835
6 changed files with 14 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ class RechargeViewFull(StatsView):
contentSizer = contentPanel.GetSizer()
self.panel = contentPanel
self.headerPanel = headerPanel
sizerTankStats = wx.FlexGridSizer(3, 5)
for i in xrange(4):
sizerTankStats.AddGrowableCol(i + 1)
@@ -99,6 +100,7 @@ class RechargeViewFull(StatsView):
label.SetToolTip(wx.ToolTip("%.3f" % value))
self.panel.Layout()
self.headerPanel.Layout()
builtinStatsViews.registerView(RechargeViewFull)