gtk-demo: fix the tool palette demo

The palette was confined to its minimal size, when in horizontal mode.
This commit is contained in:
Matthias Clasen
2012-04-27 08:30:05 -04:00
parent 0cf3791c28
commit 4e18e5f687

View File

@ -522,6 +522,7 @@ do_toolpalette (GtkWidget *do_widget)
GTK_POLICY_NEVER,
GTK_POLICY_AUTOMATIC);
gtk_container_set_border_width (GTK_CONTAINER (palette_scroller), 6);
gtk_widget_set_hexpand (palette_scroller, TRUE);
gtk_container_add (GTK_CONTAINER (palette_scroller), palette);
gtk_container_add (GTK_CONTAINER (hbox), palette_scroller);