From b598750c2ab7f30b615457232f6f167c552d133b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 2 Oct 2021 17:45:57 -0600 Subject: [PATCH] triggerui: use new table attach API --- gtk2_ardour/trigger_ui.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gtk2_ardour/trigger_ui.cc b/gtk2_ardour/trigger_ui.cc index c3bda44cd8..5448d77323 100644 --- a/gtk2_ardour/trigger_ui.cc +++ b/gtk2_ardour/trigger_ui.cc @@ -200,31 +200,31 @@ TriggerUI::TriggerUI (Item* parent, Trigger& t) /* Row 0 */ - attach (follow_action_button, 0, 0, 2, 1, PackExpand, PackExpand); + attach_with_span (follow_action_button, 0, 0, 2, 1, PackExpand, PackExpand); /* Row 1 */ - attach (follow_left, 0, 1, 1, 2, PackExpand, PackExpand); - attach (follow_right, 1, 1, 2, 2, PackExpand, PackExpand); + attach (follow_left, 0, 1, PackExpand, PackExpand); + attach (follow_right, 1, 1, PackExpand, PackExpand); /* Row 2 */ - attach (launch_text, 0, 2, 1, 3); + attach (launch_text, 0, 2); /* Row 3 */ - attach (launch_style_button, 0, 3, 1, 4, PackExpand, PackExpand); - attach (legato_button, 1, 3, 2, 4, PackExpand, PackExpand); + attach (launch_style_button, 0, 3, PackExpand, PackExpand); + attach (legato_button, 1, 3, PackExpand, PackExpand); /* Row 4 */ - attach (quantize_text, 0, 4, 1, 5); - attach (velocity_label, 1, 4, 2, 5); + attach (quantize_text, 0, 4); + attach (velocity_label, 1, 4); /* Row 5 */ - attach (quantize_button, 0, 5, 1, 6, PackExpand, PackExpand); - attach (velocity, 1, 5, 2, 6, PackExpand, PackExpand); + attach (quantize_button, 0, 5, PackExpand, PackExpand); + attach (velocity, 1, 5, PackExpand, PackExpand); PropertyChange pc;