Added some tooltips to the capacitor icons.
I think we can close the tooltip icons ticket (105) now. We still need to implement the ticket for scan resolution, but that can come another day. Changed readme file to reflect Oolong the rabbit.
This commit is contained in:
2
README
2
README
@@ -1,5 +1,5 @@
|
||||
We should probably put something interesting in here.
|
||||
|
||||
Instead, here's a kitten with a pancake on its head:
|
||||
Instead, here's a bunny with a pancake on its head:
|
||||
___
|
||||
m(^,^)m
|
||||
|
||||
@@ -48,7 +48,10 @@ class CapacitorViewFull(StatsView):
|
||||
baseBox = wx.BoxSizer(wx.HORIZONTAL)
|
||||
|
||||
sizerCapacitor.Add(baseBox, 0, wx.ALIGN_LEFT)
|
||||
baseBox.Add(bitmapLoader.getStaticBitmap("capacitorInfo_big", parent, "icons"), 0, wx.ALIGN_CENTER)
|
||||
bitmap = bitmapLoader.getStaticBitmap("capacitorInfo_big", parent, "icons")
|
||||
tooltip = wx.ToolTip("Capacitor stability")
|
||||
bitmap.SetToolTip(tooltip)
|
||||
baseBox.Add(bitmap, 0, wx.ALIGN_CENTER)
|
||||
|
||||
box = wx.BoxSizer(wx.VERTICAL)
|
||||
baseBox.Add(box, 0, wx.ALIGN_LEFT)
|
||||
@@ -79,7 +82,10 @@ class CapacitorViewFull(StatsView):
|
||||
|
||||
sizerCapacitor.Add(baseBox, 0, wx.ALIGN_CENTER_HORIZONTAL)
|
||||
|
||||
baseBox.Add(bitmapLoader.getStaticBitmap("capacitorRecharge_big", parent, "icons"), 0, wx.ALIGN_CENTER)
|
||||
tooltip = wx.ToolTip("Capacitor throughput")
|
||||
bitmap = bitmapLoader.getStaticBitmap("capacitorRecharge_big", parent, "icons")
|
||||
bitmap.SetToolTip(tooltip)
|
||||
baseBox.Add(bitmap, 0, wx.ALIGN_CENTER)
|
||||
|
||||
# Recharge
|
||||
chargeSizer = wx.FlexGridSizer(2, 3)
|
||||
|
||||
Reference in New Issue
Block a user