diff options
author | Robin Gareus <robin@gareus.org> | 2014-09-08 18:43:08 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-09-08 18:43:08 +0200 |
commit | b9f07514385f0b73f320999420ce87c93045d082 (patch) | |
tree | 43e1d2e9146f51249e0f25db759e5bc5255b91dd /gtk2_ardour/midi_time_axis.cc | |
parent | 6bb573d81cd48f018a75223e3a7847ec34793245 (diff) |
Move Scroomer out of Track Selection Box:
* no horiz space between Piano-Roll & Track
* 1:1 mapping of note's vertical space (no border)
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r-- | gtk2_ardour/midi_time_axis.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index f739c43b56..eb1c4b9d6c 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -213,14 +213,23 @@ MidiTimeAxisView::set_route (boost::shared_ptr<Route> rt) tracks. */ + HSeparator* separator = manage (new HSeparator()); + separator->set_name("TrackSeparator"); + separator->set_size_request(-1, 1); + separator->show(); + VBox* v = manage (new VBox); HBox* h = manage (new HBox); h->pack_end (*_piano_roll_header); + h->pack_end (*_piano_roll_header); h->pack_end (*_range_scroomer); + v->pack_start (*separator, false, false); v->pack_start (*h, true, true); v->show (); h->show (); + top_hbox.remove(scroomer_placeholder); time_axis_hbox.pack_end(*v, false, false, 0); + midi_scroomer_size_group->add_widget (*v); controls_ebox.set_name ("MidiTrackControlsBaseUnselected"); time_axis_frame.set_name ("MidiTrackControlsBaseUnselected"); |