From 9e954f364a757dc7aa6a24e87b9eda024ceb945d Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Sun, 5 Sep 2010 20:13:04 +0400 Subject: [PATCH] Fix commit clash --- gui/statsPane.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/statsPane.py b/gui/statsPane.py index ef1a835ad..427e55057 100644 --- a/gui/statsPane.py +++ b/gui/statsPane.py @@ -378,7 +378,7 @@ class StatsPane(wx.Panel): else: gauge = PG.PyGauge(parent, wx.ID_ANY, 100) gauge.SetMinSize((self.getTextExtentW("999.9k/1.3M GJ"), 23)) - gauge.SetSkipDigitsFlag(True) + gauge.SetFractionDigits(2) setattr(self, "gauge%s%s" % (panel.capitalize(),capitalizedType), gauge) stats.Add(gauge, 0, wx.ALIGN_CENTER) @@ -461,7 +461,7 @@ class StatsPane(wx.Panel): lbl.SetBackgroundColour(wx.Colour(bc[0],bc[1],bc[2])) lbl.SetBarColour(wx.Colour(fc[0],fc[1],fc[2])) lbl.SetBarGradient() - lbl.SetSkipDigitsFlag(False) + lbl.SetFractionDigits(1) setattr(self, "labelResistance%s%s" % (tankType.capitalize(), damageType.capitalize()), lbl) box.Add(lbl, 0, wx.ALIGN_CENTER) @@ -851,7 +851,7 @@ class StatsPane(wx.Panel): hbox.Add(wx.StaticText(self.fullPanel, wx.ID_ANY, " m ISK"), 0, wx.ALIGN_LEFT) - # The custom made collapsible panel demo + # The custom made collapsible panel demo priceTPanel = TogglePanel(self.fullPanel) priceTPanel.SetLabel(u"Price")