]> err.no Git - mapper/commitdiff
QuickPoi: Let "Other" button expand properly with window size.
authorKaj-Michael Lang <milang@tal.org>
Sat, 17 May 2008 10:36:01 +0000 (13:36 +0300)
committerKaj-Michael Lang <milang@tal.org>
Sat, 17 May 2008 10:36:01 +0000 (13:36 +0300)
src/poi-gui.c

index ff2a380f386b128cc0281334138e8218d12463a6..81b2dc11adbbab55ced0a267268bca740ca6eb68 100644 (file)
@@ -1085,11 +1085,11 @@ gtk_box_pack_start(GTK_BOX(vbox), table, TRUE, TRUE, 0);
 /* Other POI button */
 otherbtn=gtk_button_new_with_label("Other POI");
 poi_button_set_icon(otherbtn, NODE_AMENITY_GENERIC);
-gtk_box_pack_start(GTK_BOX(vbox), otherbtn, TRUE, FALSE, 6);
+gtk_box_pack_start(GTK_BOX(vbox), otherbtn, TRUE, TRUE, 6);
 g_object_set_data(G_OBJECT(otherbtn), "pid", GINT_TO_POINTER(NODE_AMENITY_GENERIC));
 g_signal_connect(G_OBJECT(otherbtn), "clicked", G_CALLBACK(poi_quick_button_cb), qpdata);
 
-gtk_box_pack_start(GTK_BOX(vbox), qpdata->label = gtk_entry_new(), TRUE, FALSE, 0);
+gtk_box_pack_start(GTK_BOX(vbox), qpdata->label = gtk_entry_new(), FALSE, FALSE, 0);
 
 return vbox;
 }