Small visual bug fix in resistancesViewFull - TODO: all statsview comps should do header layout in refreshPanel

This commit is contained in:
HomeWorld
2010-10-02 21:39:39 +03:00
parent 63913a309e
commit a45798bd1f

View File

@@ -39,7 +39,7 @@ class ResistancesViewFull(StatsView):
def populatePanel(self, contentPanel, headerPanel):
contentSizer = contentPanel.GetSizer()
self.panel = contentPanel
self.headerPanel = headerPanel
# Custom header EHP
headerContentSizer = wx.BoxSizer(wx.HORIZONTAL)
hsizer = headerPanel.GetSizer()
@@ -171,5 +171,7 @@ class ResistancesViewFull(StatsView):
lbl.SetValue(0)
self.panel.Layout()
self.headerPanel.Layout()
builtinStatsViews.registerView(ResistancesViewFull)