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

@@ -46,6 +46,7 @@ class ResourcesViewFull(StatsView):
contentSizer.Add( sizerResources, 0, wx.EXPAND, 0)
parent = self.panel = contentPanel
self.headerPanel = headerPanel
panel = "full"
sizer = wx.FlexGridSizer(3, 2)
@@ -177,5 +178,6 @@ class ResourcesViewFull(StatsView):
i+=1
self.panel.Layout()
self.headerPanel.Layout()
builtinStatsViews.registerView(ResourcesViewFull)