From c1b3592f57890b05692783d1381b5ac9d3a9caff Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Tue, 26 Oct 2010 17:21:43 +0200 Subject: [PATCH] Put icons vertically --- gui/builtinStatsViews/resourcesViewFull.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/builtinStatsViews/resourcesViewFull.py b/gui/builtinStatsViews/resourcesViewFull.py index 52b4a1bbc..3a38b166c 100644 --- a/gui/builtinStatsViews/resourcesViewFull.py +++ b/gui/builtinStatsViews/resourcesViewFull.py @@ -68,9 +68,9 @@ class ResourcesViewFull(StatsView): bitmap.SetToolTip(tooltip) outerBox.Add(bitmap, 0, wx.ALIGN_CENTER) - box.Add(outerBox, 0, wx.ALIGN_CENTER) + outerBox.Add(box, 0, wx.ALIGN_CENTER) - sizer.Add(box, 0, wx.ALIGN_CENTER) + sizer.Add(outerBox, 0, wx.ALIGN_CENTER) suffix = {'turret':'Hardpoints', 'launcher':'Hardpoints', 'drones':'Active', 'calibration':'Points'} lbl = wx.StaticText(parent, wx.ID_ANY, "0")