[longomatch] Rework tagger UI to make it fit better in the screen
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Rework tagger UI to make it fit better in the screen
- Date: Sun, 29 Dec 2013 17:25:06 +0000 (UTC)
commit ef365f9c2927337d9a39c3cf4d1481388834d880
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Dec 29 18:21:20 2013 +0100
Rework tagger UI to make it fit better in the screen
LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
b/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
index 1465f91..d8523f0 100644
--- a/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
@@ -31,7 +31,7 @@ namespace LongoMatch.Gui.Component
StringTagStore tags;
RadioButton firstRB;
uint count;
- const uint BUTTONS_PER_ROW = 3;
+ const uint BUTTONS_PER_ROW = 5;
TagSubCategory subcategory;
public StringTaggerWidget (TagSubCategory subcategory, StringTagStore tags)
@@ -40,7 +40,7 @@ namespace LongoMatch.Gui.Component
this.subcategory = subcategory;
this.tags = tags;
count = 0;
- table.NColumns = 3;
+ table.NColumns = 5;
PopulateGui();
UpdateTags();
}
@@ -81,6 +81,7 @@ namespace LongoMatch.Gui.Component
} else {
button = new CheckButton(tag.Value);
}
+ button.WidthRequest = 120;
button.Toggled += delegate(object sender, EventArgs e) {
if (button.Active) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]