From 323db1068fec3f9e29b243526532f8db56b083bb Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 17 Oct 2010 20:49:58 -0400 Subject: [PATCH] Do not expand object editor vertically. Gtk3 has new behavior for expansion of widgets. This commit takes care of the most obvious case of this new behavior. Additional cases still need to be addressed in the object-editor.ui file. --- src/ui-sidebar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui-sidebar.c b/src/ui-sidebar.c index d23d5a1e..68952315 100644 --- a/src/ui-sidebar.c +++ b/src/ui-sidebar.c @@ -141,7 +141,8 @@ gl_ui_sidebar_construct (glUISidebar *sidebar) sidebar->priv->editor = gl_object_editor_new (); gtk_widget_show (sidebar->priv->editor); - gtk_container_add (GTK_CONTAINER(sidebar), sidebar->priv->editor); + gtk_box_pack_start (GTK_BOX (sidebar), sidebar->priv->editor, FALSE, FALSE, 0); + gtk_widget_set_vexpand (GTK_WIDGET (sidebar->priv->editor), FALSE); gl_debug (DEBUG_UI, "END"); } -- 2.39.5