Code

Fixed preferences dialog to be usable on small screens, like on the Eee PC.
authorjoncruz <joncruz@users.sourceforge.net>
Fri, 13 Jun 2008 04:21:22 +0000 (04:21 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Fri, 13 Jun 2008 04:21:22 +0000 (04:21 +0000)
src/ui/dialog/inkscape-preferences.cpp

index fa49574131cfe43f407305e2e4d744f29fa1f45f..664f2c4e8fbea3e1684367df8c4812e0dcbd2665 100644 (file)
@@ -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);