Fix width of dual board GTK
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 3 Feb 2015 11:49:11 +0000 (12:49 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 7 May 2015 18:53:32 +0000 (20:53 +0200)
The message field here was too wide, because it was attached to a
non-existing table column.

gtk/xoptions.c

index 1ce5442..8c5bd26 100644 (file)
@@ -1435,7 +1435,7 @@ if(appData.debugMode) printf("n=%d, h=%d, w=%d\n",n,height,width);
                g_signal_connect(label, "button-press-event", G_CALLBACK(MemoEvent), (gpointer) &option[i]);
                gtk_widget_set_sensitive(label, TRUE);
            }
-            Pack(hbox, table, label, left, left+3, top, 0);
+            Pack(hbox, table, label, left, left+r, top, 0);
            break;
           case SaveButton:
           case Button: