[longomatch] Fix position of tags in the 3-columns table



commit 465219222f21c3b423926e6f3db21c3f2eb5b154
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Nov 10 15:30:57 2012 +0100

    Fix position of tags in the 3-columns table

 LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs b/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
index 934826b..1465f91 100644
--- a/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/StringTaggerWidget.cs
@@ -90,8 +90,8 @@ namespace LongoMatch.Gui.Component
 					tags.Remove(tag);
 			};
 			dict.Add(tag, button);
-			row = count / BUTTONS_PER_ROW;
-			col = count % BUTTONS_PER_ROW;
+			row = count % BUTTONS_PER_ROW;
+			col = count / BUTTONS_PER_ROW;
 			table.Attach (button, row, row+1, col, col+1);
 			button.ShowAll();
 			count ++;



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