aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2015-10-03 12:27:49 +0100
committerSimon Tatham <anakin@pobox.com>2015-10-03 16:07:04 +0100
commit7242dcc4effe85a116eb03c1f708719b63d14076 (patch)
tree9dfed024064edf4492b18e789424cc597459b4b1
parent8b491946ef0d7f34b310faf5bf484f5a419887a2 (diff)
downloadpuzzles-7242dcc4effe85a116eb03c1f708719b63d14076.zip
puzzles-7242dcc4effe85a116eb03c1f708719b63d14076.tar.gz
puzzles-7242dcc4effe85a116eb03c1f708719b63d14076.tar.bz2
puzzles-7242dcc4effe85a116eb03c1f708719b63d14076.tar.xz
Fix packing direction of config boxes.
We were packing the GtkTable into the dialog's content area using gtk_box_pack_end, which had the slightly silly effect that resizing the config box vertically would keep all the controls aligned to the _bottom_ rather than the top.
-rw-r--r--gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk.c b/gtk.c
index 0189d26..087defa 100644
--- a/gtk.c
+++ b/gtk.c
@@ -1461,7 +1461,7 @@ static int get_config(frontend *fe, int which)
table = gtk_table_new(1, 2, FALSE);
y = 0;
- gtk_box_pack_end(GTK_BOX(GTK_DIALOG(fe->cfgbox)->vbox),
+ gtk_box_pack_start(GTK_BOX(GTK_DIALOG(fe->cfgbox)->vbox),
table, FALSE, FALSE, 0);
gtk_widget_show(table);