diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-09-14 19:52:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-09-14 19:52:34 +0000 |
commit | 3bcc2896b6206d9078faf7005bdf0538c6d97528 (patch) | |
tree | 505bead3075b3ba073157621876fda53345b5c62 /gtk2_ardour/time_axis_view.cc | |
parent | 8b84681a08a7055a0d639fc44a488eda82a1ecf5 (diff) |
more GUI tweaks
git-svn-id: svn://localhost/ardour2/branches/3.0@3728 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 34f8de06dc..511697cf72 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -154,7 +154,10 @@ TimeAxisView::TimeAxisView (ARDOUR::Session& sess, PublicEditor& ed, TimeAxisVie resizer.show (); resizer_box.show(); + HSeparator* separator = manage (new HSeparator()); + controls_vbox.pack_start (controls_table, false, false); + controls_vbox.pack_end (*separator, false, false); controls_vbox.pack_end (resizer_box, false, true); controls_vbox.show (); @@ -169,10 +172,10 @@ TimeAxisView::TimeAxisView (ARDOUR::Session& sess, PublicEditor& ed, TimeAxisVie controls_hbox.pack_start (controls_ebox,true,true); controls_hbox.show (); - //controls_frame.add (controls_hbox); - //controls_frame.set_name ("TimeAxisViewControlsBaseUnselected"); - //controls_vbox.set_name ("TimeAxisViewControlsBaseUnselected"); - //controls_frame.set_shadow_type (Gtk::SHADOW_ETCHED_OUT); + // controls_frame.add (controls_hbox); + // controls_frame.set_name ("TimeAxisViewControlsBaseUnselected"); + // controls_vbox.set_name ("TimeAxisViewControlsBaseUnselected"); + // controls_frame.set_shadow_type (Gtk::SHADOW_ETCHED_OUT); ColorsChanged.connect (mem_fun (*this, &TimeAxisView::color_handler)); } @@ -231,6 +234,7 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent) parent->pack_start (controls_hbox, false, false); parent->reorder_child (controls_hbox, nth); } + //controls_frame.show (); controls_hbox.show (); controls_ebox.show (); @@ -254,8 +258,9 @@ TimeAxisView::show_at (double y, int& nth, VBox *parent) _hidden = false; /* height in pixels depends on _order, so update it now we've changed _order */ + set_height (height); - + effective_height = current_height(); /* now show children */ |