summaryrefslogtreecommitdiffstats
path: root/src/ui/previewholder.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2013-04-21 15:39:16 +0000
committerJazzyNico <nicoduf@yahoo.fr>2013-04-21 15:39:16 +0000
commit3373e6b43bd3c9eab5f2af81b4a175a250fbc025 (patch)
treea6843bc2b00364498c536bb6ff0f6f772219c7ff /src/ui/previewholder.cpp
parentFix for 600285 : Zoom slider (diff)
downloadinkscape-3373e6b43bd3c9eab5f2af81b4a175a250fbc025.tar.gz
inkscape-3373e6b43bd3c9eab5f2af81b4a175a250fbc025.zip
Fix for Bug #1023797 (Unnecessary scroll bars in swatches dialog) by Slagvi.
Fixed bugs: - https://launchpad.net/bugs/1023797 (bzr r12295)
Diffstat (limited to 'src/ui/previewholder.cpp')
-rw-r--r--src/ui/previewholder.cpp2
1 files changed, 2 insertions, 0 deletions
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());