From f3159509ed2a0ee0668737f25ef19f4dcf1e0eca Mon Sep 17 00:00:00 2001 From: VKamyshniy Date: Sun, 1 Feb 2015 21:09:18 +0200 Subject: [PATCH] [Summary] Fixing the bug: misaligned sizes of the timeline, skip ruler lane and marker ruler lane. This bug shifted tracks few lines up when hiding skip- and/or marker rulers --- gtk2_ardour/editor.cc | 2 +- gtk2_ardour/editor.h | 2 +- gtk2_ardour/ui/editor_window.xml | 173 ++++++++++++++++--------------- 3 files changed, 90 insertions(+), 87 deletions(-) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 5c5b214321..f876d00b02 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -271,7 +271,7 @@ Editor::Editor () , _master_bus_ui_home (get_container ("master_bus_ui_home")) , vpacker (get_v_box ("vpacker")) , timebars_vbox (get_v_box ("timebars_vbox")) - , marker_lane_hbox (get_h_box ("marker_lane_hbox")) + , marker_lane_hbox (get_container ("marker_lane_hbox")) , skip_button (get_waves_button ("skip_button")) , add_marker_button (get_waves_button ("add_marker_button")) , global_solo_button (get_waves_button ("global_solo_button")) diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index fd97acbd32..74e7eb404f 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -713,7 +713,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD MasterBusUI* _master_bus_ui; Gtk::VBox& vpacker; Gtk::VBox& timebars_vbox; - Gtk::HBox& marker_lane_hbox; + Gtk::Container& marker_lane_hbox; WavesButton& skip_button; std::stack _cursor_stack; diff --git a/gtk2_ardour/ui/editor_window.xml b/gtk2_ardour/ui/editor_window.xml index 842064ebb5..2d824f91ed 100644 --- a/gtk2_ardour/ui/editor_window.xml +++ b/gtk2_ardour/ui/editor_window.xml @@ -1,10 +1,10 @@ + markerheight="17" >