From 3373e6b43bd3c9eab5f2af81b4a175a250fbc025 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Sun, 21 Apr 2013 17:39:16 +0200 Subject: Fix for Bug #1023797 (Unnecessary scroll bars in swatches dialog) by Slagvi. Fixed bugs: - https://launchpad.net/bugs/1023797 (bzr r12295) --- src/ui/previewholder.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/previewholder.cpp') diff --git a/src/ui/previewholder.cpp b/src/ui/previewholder.cpp index b5a1a29a8..38f6f353f 100644 --- a/src/ui/previewholder.cpp +++ b/src/ui/previewholder.cpp @@ -50,6 +50,8 @@ PreviewHolder::PreviewHolder() : _border(BORDER_NONE) { _scroller = manage(new Gtk::ScrolledWindow()); + ((Gtk::ScrolledWindow *)_scroller)->set_policy(Gtk::POLICY_AUTOMATIC, + Gtk::POLICY_AUTOMATIC); #if WITH_GTKMM_3_0 _insides = manage(new Gtk::Grid()); -- cgit v1.2.3