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.
This commit is contained in:
Simon Tatham
2015-10-03 12:27:49 +01:00
parent 8b491946ef
commit 7242dcc4ef

2
gtk.c
View File

@ -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);