Fixed misalignment in resources section - ticket #40

This commit is contained in:
HomeWorld
2010-09-12 12:26:52 +03:00
parent 6bcaae94e4
commit c2f27f7dee

View File

@@ -115,7 +115,7 @@ class ResourcesViewFull(StatsView):
# Gauges modif. - Darriele
gauge = PG.PyGauge(parent, wx.ID_ANY, 100)
gauge.SetMinSize((self.getTextExtentW("999.9k/1.3M GJ"), 23))
gauge.SetMinSize((self.getTextExtentW("1.999M/1.99M MW"), 23))
gauge.SetFractionDigits(2)
setattr(self, "gauge%s%s" % (panel.capitalize(),capitalizedType), gauge)