"Fix" more spacers

This commit is contained in:
Ryan Holmes
2017-06-12 21:14:45 -04:00
parent 610f501608
commit 9d75dea31a
9 changed files with 13 additions and 15 deletions

View File

@@ -101,7 +101,7 @@ class ResourcesViewFull(StatsView):
panel = "full"
base = sizerResources
sizer.AddSpacer((0, 0), 1, wx.EXPAND, 5)
sizer.AddSpacer(0)
# Turrets & launcher hardslots display
tooltipText = {"turret": "Turret hardpoints", "launcher": "Launcher hardpoints", "drones": "Drones active",
"fighter": "Fighter squadrons active", "calibration": "Calibration"}
@@ -133,7 +133,7 @@ class ResourcesViewFull(StatsView):
# Hack - We add a spacer after each thing, but we are always hiding something. The spacer is stil there.
# This way, we only have one space after the drones/fighters
if type_ != "drones":
sizer.AddSpacer((0, 0), 1, wx.EXPAND, 5)
sizer.AddSpacer(0)
# PG, Cpu & drone stuff
tooltipText = {"cpu": "CPU", "pg": "PowerGrid", "droneBay": "Drone bay", "fighterBay": "Fighter bay",