mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
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:
2
gtk.c
2
gtk.c
@ -1461,7 +1461,7 @@ static int get_config(frontend *fe, int which)
|
|||||||
|
|
||||||
table = gtk_table_new(1, 2, FALSE);
|
table = gtk_table_new(1, 2, FALSE);
|
||||||
y = 0;
|
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);
|
table, FALSE, FALSE, 0);
|
||||||
gtk_widget_show(table);
|
gtk_widget_show(table);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user