[chronojump] RunInterval type with different distances allow 5 chars, eg 25, 51



commit 49ba4475263781a5a53fe3e332a47e9e923dd51e
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Apr 14 13:32:37 2021 +0200

    RunInterval type with different distances allow 5 chars, eg 25,51

 src/gui/runType.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/runType.cs b/src/gui/runType.cs
index 92ac9d5f..159c1cad 100644
--- a/src/gui/runType.cs
+++ b/src/gui/runType.cs
@@ -336,8 +336,8 @@ public class RunTypeAddWindow
                foreach(Gtk.Entry entry in hbox_distance_variable.Children)
                        hbox_distance_variable.Remove(entry);
 
-               int wc = 3; //widthChars (width of the entry)
-               int ml = 3; //maxLength (max chars to entry)
+               int wc = 5; //widthChars (width of the entry)
+               int ml = 5; //maxLength (max chars to entry)
                for (int i = 0; i < colsNum; i ++) {
                        switch(i) {
                                case 0: 


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