From: joncruz Date: Fri, 13 Jun 2008 04:21:22 +0000 (+0000) Subject: Fixed preferences dialog to be usable on small screens, like on the Eee PC. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6318a3542381352073022ed626b220e84b92de6b;p=inkscape.git Fixed preferences dialog to be usable on small screens, like on the Eee PC. --- 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);