From f52639f7f14685f253d12bcb9d2b6f37f2f2b16b Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Tue, 2 Nov 2010 22:04:40 +0200 Subject: [PATCH] Added a little padding for values in resource pane --- 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 2ad4061d7..7934a7c5f 100644 --- a/gui/builtinStatsViews/resourcesViewFull.py +++ b/gui/builtinStatsViews/resourcesViewFull.py @@ -75,7 +75,7 @@ class ResourcesViewFull(StatsView): suffix = {'turret':'Hardpoints', 'launcher':'Hardpoints', 'drones':'Active', 'calibration':'Points'} lbl = wx.StaticText(parent, wx.ID_ANY, "0") setattr(self, "label%sUsed%s%s" % (panel.capitalize(), type.capitalize(), suffix[type].capitalize()), lbl) - box.Add(lbl, 0, wx.ALIGN_CENTER) + box.Add(lbl, 0, wx.ALIGN_CENTER | wx.LEFT, 5) box.Add(wx.StaticText(parent, wx.ID_ANY, "/"), 0, wx.ALIGN_CENTER) @@ -109,7 +109,7 @@ class ResourcesViewFull(StatsView): lbl = wx.StaticText(parent, wx.ID_ANY, "0") setattr(self, "label%sUsed%s" % (panel.capitalize(), capitalizedType), lbl) - absolute.Add(lbl, 0, wx.ALIGN_LEFT) + absolute.Add(lbl, 0, wx.ALIGN_LEFT | wx.LEFT, 3) absolute.Add(wx.StaticText(parent, wx.ID_ANY, "/"), 0, wx.ALIGN_LEFT)