Put the db data area in a scrolled window

This commit is contained in:
Timothy Warren 2012-02-10 09:55:14 -05:00
parent 438f50b4de
commit 9d4d2a38d9
1 changed files with 4 additions and 1 deletions

View File

@ -108,11 +108,14 @@ class Main extends GtkWindow {
// Add the main interface area hbox
$main_vbox->pack_start($hpane);
$scrolled_win = new GtkScrolledWindow();
$scrolled_win->set_policy( Gtk::POLICY_AUTOMATIC, Gtk::POLICY_ALWAYS);
$scrolled_win->add(new DataGrid());
// Add the left column to the hpane
$hpane->pack1($this->_connection_sidebar(), FALSE);
$hpane->pack2(new DataGrid());
$hpane->pack2($scrolled_win);
// Add the Vbox, and show the window
$this->add($main_vbox);