- Gtk::HSeparator *sep = new Gtk::HSeparator;
- train_box->pack_start(*manage(sep), false, true);
- sep->show();
+ panels[index] = new TrainPanel(*train);
+ root.add(*panels[index]);
+ root_layout->set_expand(*panels[index], true, true);
+ root_layout->add_constraint(*panels[index], GLtk::Layout::BELOW, *selectors[index]);
+ root_layout->add_constraint(*panels[index], GLtk::Layout::ALIGN_LEFT, *selectors[index]);
+ root_layout->add_constraint(*panels[index], GLtk::Layout::ALIGN_RIGHT, *selectors[index]);
+ root_layout->add_constraint(*panels[index], GLtk::Layout::ABOVE, status_bar);