]> err.no Git - mapper/commitdiff
Let the map widget resize with dialog size.
authorKaj-Michael Lang <milang@tal.org>
Mon, 5 May 2008 07:44:00 +0000 (10:44 +0300)
committerKaj-Michael Lang <milang@tal.org>
Mon, 5 May 2008 07:44:00 +0000 (10:44 +0300)
src/map-widget-test.c

index c119230e95e99ef3584dcd5fa610f327236c3292..aae66397c96f6b9bf7eeb1b011b9691c18e5d2e5 100644 (file)
@@ -15,7 +15,7 @@ gtk_window_set_title(GTK_WINDOW(dialog), "Map test");
 gtk_dialog_add_button (dialog, "Close", GTK_RESPONSE_CLOSE);
 
 map=gtk_map_new();
-gtk_box_pack_start(GTK_BOX (dialog->vbox), map, FALSE, FALSE, 0);
+gtk_box_pack_start(GTK_BOX (dialog->vbox), map, TRUE, TRUE, 0);
 
 gtk_widget_show_all(GTK_WIDGET (dialog));
 gtk_dialog_run (dialog);