summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui2.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2018-02-14 14:47:00 -0600
committerBen Loftis <ben@harrisonconsoles.com>2018-02-14 14:47:00 -0600
commitc206fa98a1be56678b05bbc728602a859686591b (patch)
treead77340d7d282ca0bf431995316940c24e557beb /gtk2_ardour/ardour_ui2.cc
parent7cb1219df81e373eb15a3ecc17bca65de4c27526 (diff)
Re-pack the master meters (in the toolbar) so the editor_meter_peak_display button is more clickable.
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r--gtk2_ardour/ardour_ui2.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc
index 54d2a8416b..71d4af10b8 100644
--- a/gtk2_ardour/ardour_ui2.cc
+++ b/gtk2_ardour/ardour_ui2.cc
@@ -212,16 +212,18 @@ ARDOUR_UI::repack_transport_hbox ()
}
if (editor_meter) {
- if (meter_box.get_parent()) {
- transport_hbox.remove (meter_box);
- transport_hbox.remove (editor_meter_peak_display);
+ if (editor_meter_table.get_parent()) {
+ transport_hbox.remove (editor_meter_table);
+ }
+ if (meterbox_spacer.get_parent()) {
+ transport_hbox.remove (meterbox_spacer);
}
if (UIConfiguration::instance().get_show_editor_meter()) {
- transport_hbox.pack_end (editor_meter_peak_display, false, false);
- transport_hbox.pack_end (meter_box, false, false);
- meter_box.show();
- editor_meter_peak_display.show();
+ transport_hbox.pack_end (editor_meter_table, false, false);
+ transport_hbox.pack_end (meterbox_spacer, false, false, 3);
+ editor_meter_table.show();
+ meterbox_spacer.show();
}
}