13
0

trigger page: use a VPane so we can enlarge the cue editor if desired

Plus fixup to get MIDI notes redrawn as pane is resized
This commit is contained in:
Paul Davis 2024-08-25 13:38:41 -06:00
parent 12519ef621
commit 69871e0021
3 changed files with 4 additions and 3 deletions

View File

@ -68,6 +68,7 @@ void
MidiCueView::set_height (double h)
{
event_rect->set (ArdourCanvas::Rect (0.0, 0.0, ArdourCanvas::COORD_MAX, h));
view_changed ();
}
ArdourCanvas::Item*

View File

@ -154,8 +154,8 @@ TriggerPage::TriggerPage ()
_parameter_box.pack_start (*table);
/* Top-level Layout */
_content.pack_start (_pane_upper, true, true);
_content.pack_start (_parameter_box, false, false);
_content.add (_pane_upper);
_content.add (_parameter_box);
_content.show ();
/* Show all */

View File

@ -104,7 +104,7 @@ private:
void fast_update_strips ();
Gtkmm2ext::Bindings* bindings;
Gtk::VBox _content;
ArdourWidgets::VPane _content;
ArdourWidgets::HPane _pane_upper;
Gtk::HBox _strip_group_box;