A little waxing job applied to StatsPane:Resources (pg/cpu/drone.. icons now are on the same line (align_bottom) with their coresponding gauges; gauges size increased to approx. the same size of icons)

This commit is contained in:
HomeWorld
2010-09-02 19:00:53 +03:00
parent 84b06630c8
commit b2b1e27872

View File

@@ -338,7 +338,7 @@ class StatsPane(wx.Panel):
b = wx.BoxSizer(wx.HORIZONTAL)
main.Add(b, 1, wx.ALIGN_CENTER)
b.Add(bitmap, 0, wx.ALIGN_CENTER)
b.Add(bitmap, 0, wx.ALIGN_BOTTOM)
b.Add(stats, 1, wx.EXPAND)
else:
@@ -364,7 +364,7 @@ class StatsPane(wx.Panel):
gauge.SetMinSize((80, 20))
else:
gauge = PG.PyGauge(parent, wx.ID_ANY, 100)
gauge.SetMinSize((80, 16))
gauge.SetMinSize((80, 23))
gauge.SetSkipDigitsFlag(True)
setattr(self, "gauge%s%s" % (panel.capitalize(),capitalizedType), gauge)