Fix gauges again, convert remaining IconFromBitmap > Icon
This commit is contained in:
@@ -136,7 +136,7 @@ class ResistancesViewFull(StatsView):
|
||||
bc = pgColour[1]
|
||||
currGColour += 1
|
||||
|
||||
lbl = PyGauge(contentPanel, font, (100, 25))
|
||||
lbl = PyGauge(contentPanel, font, 100)
|
||||
lbl.SetMinSize((48, 16))
|
||||
lbl.SetBackgroundColour(wx.Colour(bc[0], bc[1], bc[2]))
|
||||
lbl.SetBarColour(wx.Colour(fc[0], fc[1], fc[2]))
|
||||
|
||||
@@ -179,7 +179,7 @@ class ResourcesViewFull(StatsView):
|
||||
|
||||
# Gauges modif. - Darriele
|
||||
|
||||
gauge = PyGauge(parent, gauge_font)
|
||||
gauge = PyGauge(parent, gauge_font, 1)
|
||||
gauge.SetValueRange(0, 0)
|
||||
gauge.SetMinSize((self.getTextExtentW("1.999M/1.99M MW"), 23))
|
||||
gauge.SetFractionDigits(2)
|
||||
|
||||
Reference in New Issue
Block a user