From: H.G.Muller Date: Wed, 22 Oct 2014 09:04:47 +0000 (+0200) Subject: Fix -xbuttons window width GTK X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=4435d1ff1d234516df1e10d54e1617a94039858b Fix -xbuttons window width GTK Because Label options not followed by a SAME_ROW element were only packed into the first two columns of the dialog table, the board window reserved space for a third column behind the message window if there was no button bar. --- diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 29be641..31598bd 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -1430,7 +1430,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+2, top, 0); + Pack(hbox, table, label, left, left+3, top, 0); break; case SaveButton: case Button: