From d367e94f7d11ceb66c8ad95332052d2abf5ed09c Mon Sep 17 00:00:00 2001 From: Ales Hvezda Date: Fri, 4 Jan 2008 13:33:15 -0500 Subject: [PATCH] Added consistent border width to the in-use scrolled window Without this border width, switching between the in-use and library tabs caused the scrolled windows to jump around. Plus now the spacing is consistent between the two tabs. --- gschem/src/x_compselect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gschem/src/x_compselect.c b/gschem/src/x_compselect.c index 91852c845..6052d1a77 100644 --- a/gschem/src/x_compselect.c +++ b/gschem/src/x_compselect.c @@ -848,6 +848,8 @@ create_lib_treeview (Compselect *compselect) scrolled_win = GTK_WIDGET ( g_object_new (GTK_TYPE_SCROLLED_WINDOW, + /* GtkContainer */ + "border-width", 5, /* GtkScrolledWindow */ "hscrollbar-policy", GTK_POLICY_AUTOMATIC, "vscrollbar-policy", GTK_POLICY_ALWAYS, -- 2.11.4.GIT