[longomatch] Fix text width detection
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix text width detection
- Date: Tue, 6 Aug 2013 20:41:43 +0000 (UTC)
commit f7fffbb922674a47cf44c3a174733b30eceb9e49
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Aug 6 22:41:16 2013 +0200
Fix text width detection
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 72f1fbe..f0cd75b 100644
--- a/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
+++ b/LongoMatch.GUI/Gui/Component/Stats/GameViewer.cs
@@ -112,7 +112,7 @@ namespace LongoMatch.Gui.Component
foreach (CategoryStats cstat in stats.CategoriesStats) {
int width, height;
- layout.SetMarkup (GLib.Markup.EscapeText (cstat.Name));
+ layout.SetMarkup (String.Format("<b>{0}</b>", GLib.Markup.EscapeText
(cstat.Name)));
layout.GetPixelSize (out width, out height);
if (width > normal) {
normal = width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]