From 6318a3542381352073022ed626b220e84b92de6b Mon Sep 17 00:00:00 2001 From: joncruz Date: Fri, 13 Jun 2008 04:21:22 +0000 Subject: [PATCH] Fixed preferences dialog to be usable on small screens, like on the Eee PC. --- src/ui/dialog/inkscape-preferences.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index fa4957413..664f2c4e8 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -86,7 +86,12 @@ InkscapePreferences::InkscapePreferences() //Pages Gtk::VBox* vbox_page = Gtk::manage(new Gtk::VBox()); Gtk::Frame* title_frame = Gtk::manage(new Gtk::Frame()); - hbox_list_page->pack_start(*vbox_page, true, true, 0); + + Gtk::ScrolledWindow* pageScroller = Gtk::manage(new Gtk::ScrolledWindow()); + pageScroller->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); + pageScroller->add(*vbox_page); + hbox_list_page->pack_start(*pageScroller, true, true, 0); + title_frame->add(_page_title); vbox_page->pack_start(*title_frame, false, false, 0); vbox_page->pack_start(_page_frame, true, true, 0); -- 2.30.2