Fix entry width for the extended dials.
authorAlexander Koenig <alex@lisas.de>
Sun, 8 May 2016 13:35:40 +0000 (15:35 +0200)
committerAlexander Koenig <alex@lisas.de>
Sun, 8 May 2016 13:35:40 +0000 (15:35 +0200)
src/tX_extdial.cc

index 887f06a8ebaee8bd479803220d16443c11d91771..51b00b2559c6e50bfcc18666f23fa03f876c74c3 100644 (file)
@@ -72,6 +72,7 @@ tX_extdial :: tX_extdial(const char *l, GtkAdjustment *a, tX_seqpar * sp, bool t
        if (l) gtk_widget_show(label);
        if (!hide_entry){ gtk_widget_show(entry); }
        gtk_entry_set_width_chars(GTK_ENTRY(entry), 4);
+       gtk_entry_set_max_width_chars(GTK_ENTRY(entry), 4);
        gtk_widget_show(dial);
        gtk_widget_show(subbox);
        gtk_widget_show(mainbox);