gtk-demo: Fix expand button box demo

Set the spacing to 0, so the buttons are actually linked.
This commit is contained in:
Matthias Clasen 2014-07-09 13:18:41 -04:00
parent cd71a23ee2
commit 2f12fd5599

View File

@ -95,7 +95,7 @@ do_button_box (GtkWidget *do_widget)
TRUE, TRUE, 5);
gtk_box_pack_start (GTK_BOX (vbox),
create_bbox (TRUE, "Expand", 40, GTK_BUTTONBOX_EXPAND),
create_bbox (TRUE, "Expand", 0, GTK_BUTTONBOX_EXPAND),
TRUE, TRUE, 5);
frame_vert = gtk_frame_new ("Vertical Button Boxes");
@ -124,7 +124,7 @@ do_button_box (GtkWidget *do_widget)
create_bbox (FALSE, "Center", 10, GTK_BUTTONBOX_CENTER),
TRUE, TRUE, 5);
gtk_box_pack_start (GTK_BOX (hbox),
create_bbox (FALSE, "Expand", 10, GTK_BUTTONBOX_EXPAND),
create_bbox (FALSE, "Expand", 0, GTK_BUTTONBOX_EXPAND),
TRUE, TRUE, 5);
}