From: buliabyak Date: Tue, 27 Mar 2007 04:29:20 +0000 (+0000) Subject: make horizontal scrollbar automatic X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2b97764cb7fcddb77998c3cc3bbf71f6c8e18ab2;p=inkscape.git make horizontal scrollbar automatic --- diff --git a/src/ui/previewholder.cpp b/src/ui/previewholder.cpp index 5d87eb4f5..1717e5053 100644 --- a/src/ui/previewholder.cpp +++ b/src/ui/previewholder.cpp @@ -143,7 +143,7 @@ void PreviewHolder::setOrientation( Gtk::AnchorType how ) case Gtk::ANCHOR_NORTH: case Gtk::ANCHOR_SOUTH: { - dynamic_cast(_scroller)->set_policy( Gtk::POLICY_ALWAYS, _wrap ? Gtk::POLICY_AUTOMATIC : Gtk::POLICY_NEVER ); + dynamic_cast(_scroller)->set_policy( Gtk::POLICY_AUTOMATIC, _wrap ? Gtk::POLICY_AUTOMATIC : Gtk::POLICY_NEVER ); } break; @@ -172,7 +172,7 @@ void PreviewHolder::setWrap( bool b ) case Gtk::ANCHOR_NORTH: case Gtk::ANCHOR_SOUTH: { - dynamic_cast(_scroller)->set_policy( Gtk::POLICY_ALWAYS, _wrap ? Gtk::POLICY_AUTOMATIC : Gtk::POLICY_NEVER ); + dynamic_cast(_scroller)->set_policy( Gtk::POLICY_AUTOMATIC, _wrap ? Gtk::POLICY_AUTOMATIC : Gtk::POLICY_NEVER ); } break; default: