Center hard resources

This commit is contained in:
cncfanatics
2010-08-14 14:02:44 +02:00
parent 4ea6fcd321
commit c342de87c9

View File

@@ -47,7 +47,7 @@ class StatsPane(wx.Panel):
# Turret slots, Launcher slots & calibration
self.sizerHardResources = wx.FlexGridSizer(3, 4)
self.sizerResources.Add(self.sizerHardResources, 0, wx.EXPAND)
self.sizerResources.Add(self.sizerHardResources, 0, wx.ALIGN_CENTER)
for type in ("turret", "launcher"):
self.sizerHardResources.Add(bitmapLoader.getStaticBitmap("%s_big" % type, self))