From 54a98cd320359a30622ba64db9bf694d401731be Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 18 Oct 2022 02:14:31 +0200 Subject: [PATCH] Remove visible spacer right of the mini-timeline This improves consistency, the center widgets are already visibly separated by their background. --- gtk2_ardour/ardour_ui.h | 2 +- gtk2_ardour/ardour_ui2.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index 738e10cfa9..1654d3ac7c 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -562,7 +562,7 @@ private: ArdourWidgets::ArdourVSpacer meterbox_spacer; - ArdourWidgets::ArdourVSpacer meterbox_spacer2; + Gtk::HBox meterbox_spacer2; ArdourWidgets::ArdourButton auto_return_button; ArdourWidgets::ArdourButton follow_edits_button; diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 6244931d2e..6395e674dd 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -228,7 +228,8 @@ ARDOUR_UI::repack_transport_hbox () if (UIConfiguration::instance().get_show_editor_meter()) { transport_hbox.pack_end (meterbox_spacer, false, false, 3); transport_hbox.pack_end (editor_meter_table, false, false); - transport_hbox.pack_end (meterbox_spacer2, false, false, 3); + transport_hbox.pack_end (meterbox_spacer2, false, false, 1); + meterbox_spacer2.set_size_request (1, -1); editor_meter_table.show(); meterbox_spacer.show(); meterbox_spacer2.show();