Bodge around visual glitch where the ranges & markers list would overlap the editor...
authorCarl Hetherington <carl@carlh.net>
Tue, 24 Nov 2009 00:06:12 +0000 (00:06 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 24 Nov 2009 00:06:12 +0000 (00:06 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6162 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/location_ui.cc
gtk2_ardour/location_ui.h

index 94d7fd0f1c8ef6adddadd388d67b1a240e91a66f..d5448e7f71d4ba240e38d4ac689182cd7e442453 100644 (file)
@@ -595,9 +595,15 @@ LocationUI::LocationUI ()
        
        add_location_button.set_image (*Gtk::manage (new Gtk::Image (Gtk::Stock::ADD, Gtk::ICON_SIZE_BUTTON)));
        add_range_button.set_image (*Gtk::manage (new Gtk::Image (Gtk::Stock::ADD, Gtk::ICON_SIZE_BUTTON)));
+
+       loop_punch_box.pack_start (loop_edit_row, false, false);
+       loop_punch_box.pack_start (punch_edit_row, false, false);
+       
+       loop_punch_scroller.add (loop_punch_box);
+       loop_punch_scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_NEVER);
+       loop_punch_scroller.set_shadow_type (Gtk::SHADOW_NONE);
        
-       location_vpacker.pack_start (loop_edit_row, false, false);
-       location_vpacker.pack_start (punch_edit_row, false, false);
+       location_vpacker.pack_start (loop_punch_scroller, false, false);
 
        location_rows.set_name("LocationLocRows");
        location_rows_scroller.add (location_rows);
index a17724f5ba5ff1e0fe45922a1e54b8456aba3048..56401f61399b515e575a0026b72bc54a82f25399 100644 (file)
@@ -163,6 +163,8 @@ class LocationUI : public Gtk::HBox
 
        LocationEditRow      loop_edit_row;
        LocationEditRow      punch_edit_row;
+       Gtk::VBox loop_punch_box;
+       Gtk::ScrolledWindow loop_punch_scroller;
 
        Gtk::VPaned loc_range_panes;