Fixed a few anal retentive tooltip issues. No biggie.
This commit is contained in:
@@ -48,7 +48,7 @@ class RechargeViewFull(StatsView):
|
||||
|
||||
#Add an empty label first for correct alignment.
|
||||
sizerTankStats.Add(wx.StaticText(contentPanel, wx.ID_ANY, ""), 0)
|
||||
toolTipText = {"shieldPassive" : "Passive Shield Recharge", "shieldActive" : "Active Shield Recharge", "armorActive" : "Armor repair amount", "hullActive" : "Hull repair amount"}
|
||||
toolTipText = {"shieldPassive" : "Passive shield recharge", "shieldActive" : "Active shield boost", "armorActive" : "Armor repair amount", "hullActive" : "Hull repair amount"}
|
||||
for tankType in ("shieldPassive", "shieldActive", "armorActive", "hullActive"):
|
||||
bitmap = bitmapLoader.getStaticBitmap("%s_big" % tankType, contentPanel, "icons")
|
||||
tooltip = wx.ToolTip(toolTipText[tankType])
|
||||
@@ -110,4 +110,4 @@ class RechargeViewFull(StatsView):
|
||||
self.panel.Layout()
|
||||
self.headerPanel.Layout()
|
||||
|
||||
RechargeViewFull.register()
|
||||
RechargeViewFull.register()
|
||||
|
||||
@@ -97,7 +97,7 @@ class ResistancesViewFull(StatsView):
|
||||
|
||||
gaugeColours=( ((38,133,198),(52,86,98)), ((198,38,38),(83,65,67)), ((163,163,163),(74,90,93)), ((198,133,38),(81,83,67)) )
|
||||
|
||||
toolTipText = {"shield" : "Shield resistances", "armor" : "Armor resistances", "hull" : "Hull resistances", "damagePattern" : "Incoming damage pattern"}
|
||||
toolTipText = {"shield" : "Shield resistance", "armor" : "Armor resistance", "hull" : "Hull resistance", "damagePattern" : "Incoming damage pattern"}
|
||||
for tankType in ("shield", "armor", "hull", "separator", "damagePattern"):
|
||||
if tankType != "separator":
|
||||
bitmap = bitmapLoader.getStaticBitmap("%s_big" % tankType, contentPanel, "icons")
|
||||
|
||||
@@ -83,7 +83,7 @@ class ResourcesViewFull(StatsView):
|
||||
base.Add(wx.StaticLine(parent, wx.ID_ANY, style=st), 0, wx.EXPAND | wx.LEFT, 3 if panel == "full" else 0)
|
||||
|
||||
#PG, Cpu & drone stuff
|
||||
tooltipText = {"cpu":"CPU", "pg":"Power grid", "droneBay":"Drone bay", "droneBandwidth":"Drone bandwidth"}
|
||||
tooltipText = {"cpu":"CPU", "pg":"PowerGrid", "droneBay":"Drone bay", "droneBandwidth":"Drone bandwidth"}
|
||||
for i, group in enumerate((("cpu", "pg"), ("droneBay", "droneBandwidth"))):
|
||||
main = wx.BoxSizer(wx.VERTICAL)
|
||||
base.Add(main, 1 , wx.ALIGN_CENTER)
|
||||
|
||||
Reference in New Issue
Block a user