[longomatch] Fix calculation of stats name width



commit 40efff5713dc52031c15b891a1b799ecd8979b8b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Aug 9 20:23:32 2013 +0200

    Fix calculation of stats name width

 LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs 
b/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
index f0cd75b..f588146 100644
--- a/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
+++ b/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
@@ -119,7 +119,7 @@ namespace LongoMatch.Gui.Component
                                }
                                foreach (SubCategoryStat sstat in cstat.SubcategoriesStats) {
                                        foreach (PercentualStat spstat in sstat.OptionStats) {
-                                               layout.SetMarkup (GLib.Markup.EscapeText (String.Format 
("{0}: {1}", cstat.Name, sstat.Name)));
+                                               layout.SetMarkup (GLib.Markup.EscapeText (String.Format 
("{0}: {1}", sstat.Name, spstat.Name)));
                                                layout.GetPixelSize (out width, out height);
                                                if (width > full) {
                                                        full = width;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]