[gtk+/gtk-3-4] gtk-demo: fix the tool palette demo
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-4] gtk-demo: fix the tool palette demo
- Date: Fri, 27 Apr 2012 12:30:49 +0000 (UTC)
commit eb94f92f267f31c56fe840d0e0ad103c07bc09c1
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 27 08:30:05 2012 -0400
gtk-demo: fix the tool palette demo
The palette was confined to its minimal size, when in horizontal mode.
demos/gtk-demo/toolpalette.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/toolpalette.c b/demos/gtk-demo/toolpalette.c
index 1a45fc1..95ece8d 100644
--- a/demos/gtk-demo/toolpalette.c
+++ b/demos/gtk-demo/toolpalette.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]