From 2f12fd559952c2f3c7d89417d28baa29082a5037 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 9 Jul 2014 13:18:41 -0400 Subject: [PATCH] gtk-demo: Fix expand button box demo Set the spacing to 0, so the buttons are actually linked. --- demos/gtk-demo/button_box.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demos/gtk-demo/button_box.c b/demos/gtk-demo/button_box.c index f542136cad..18e797029f 100644 --- a/demos/gtk-demo/button_box.c +++ b/demos/gtk-demo/button_box.c @@ -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); }