From f9964b711ba5f952b6456da5f8f82f39a429cbae Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Mon, 13 Sep 2010 13:41:13 +0300 Subject: [PATCH] Added tooltips to prices values --- gui/builtinStatsViews/priceViewFull.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/builtinStatsViews/priceViewFull.py b/gui/builtinStatsViews/priceViewFull.py index 332183e3e..121e99246 100644 --- a/gui/builtinStatsViews/priceViewFull.py +++ b/gui/builtinStatsViews/priceViewFull.py @@ -121,8 +121,11 @@ class PriceViewFull(StatsView): self.labelEMStatus.SetLabel("") modPrice = sum(map(lambda p: p.price or 0, prices[1:])) self.labelPriceShip.SetLabel(formatAmount(shipPrice, 3, 3, 9)) + self.labelPriceShip.SetToolTip(wx.ToolTip("%.2f ISK" % shipPrice)) self.labelPriceFittings.SetLabel(formatAmount(modPrice, 3, 3, 9)) + self.labelPriceFittings.SetToolTip(wx.ToolTip("%.2f ISK" % modPrice)) self.labelPriceTotal.SetLabel(formatAmount(shipPrice + modPrice, 3, 3, 9)) + self.labelPriceTotal.SetToolTip(wx.ToolTip("%.2f ISK" % (shipPrice + modPrice))) self.panel.Layout() builtinStatsViews.registerView(PriceViewFull)