chiark / gitweb /
Fix packing direction of config boxes.
authorSimon Tatham <anakin@pobox.com>
Sat, 3 Oct 2015 11:27:49 +0000 (12:27 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 3 Oct 2015 15:07:04 +0000 (16:07 +0100)
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.

gtk.c

diff --git a/gtk.c b/gtk.c
index 0189d26e51e49fb74ad3fcedd585b6136767835c..087defaa65984f4066304c26637a77f3ccb36875 100644 (file)
--- 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);