From 4435d1ff1d234516df1e10d54e1617a94039858b Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Wed, 22 Oct 2014 11:04:47 +0200 Subject: [PATCH] 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. --- gtk/xoptions.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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: -- 1.7.0.4