- train_box = new Gtk::VBox(false, 5);
- window.add(*manage(train_box));
+ Gtk::ScrolledWindow *scroll = new Gtk::ScrolledWindow;
+ window.add(*manage(scroll));
+ scroll->set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
+
+ panel_box = new Gtk::VBox(false, 5);
+ scroll->add(*manage(panel_box));
+
+ main_panel = new MainPanel(*this, client);
+ panel_box->pack_start(*manage(main_panel), false, true);