Remove some debug code and fixup Layout() calls in statviews

This commit is contained in:
cncfanatics
2010-09-11 14:53:27 +02:00
parent 2bb7abca11
commit 21e4ae2a52
11 changed files with 17 additions and 113 deletions

View File

@@ -35,12 +35,9 @@ class TargetingMiscViewFull(StatsView):
return width
def populatePanel(self, contentPanel, headerPanel):
contentSizer = contentPanel.GetSizer()
parent = contentPanel
panel = "full"
self.panel = contentPanel
gridTargetingMisc = wx.FlexGridSizer(1, 3)
contentSizer.Add( gridTargetingMisc, 0, wx.EXPAND | wx.ALL, 0)
gridTargetingMisc.AddGrowableCol(0)
@@ -117,4 +114,6 @@ class TargetingMiscViewFull(StatsView):
label.SetLabel(formatAmount(value, prec, lowest, highest))
label.SetToolTip(wx.ToolTip("%.1f" % value))
self.panel.Layout()
builtinStatsViews.registerView(TargetingMiscViewFull)