From 8167262ca20d937e7e7cc828c8da47d963699b10 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 8 Nov 2010 17:34:20 +0000 Subject: Fix use of vertical space when the locations dialogue is expanded. git-svn-id: svn://localhost/ardour2/branches/3.0@7980 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/location_ui.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index 833eb73ae6..0dd6d99d5c 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -687,20 +687,20 @@ LocationUI::LocationUI () table->attach (loop_punch_box, 1, 2, table_row, table_row + 1); ++table_row; - vbox->pack_start (*table, true, true); + vbox->pack_start (*table, false, false); table = manage (new Table (3, 2)); table->set_spacings (4); table->set_col_spacing (0, 32); table_row = 0; - table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1); + table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1, Gtk::SHRINK, Gtk::SHRINK); ++table_row; l = manage (new Label (_("Markers (Including CD Index)"))); l->set_alignment (0, 0.5); l->set_use_markup (true); - table->attach (*l, 0, 2, table_row, table_row + 1); + table->attach (*l, 0, 2, table_row, table_row + 1, Gtk::FILL | Gtk::EXPAND, Gtk::SHRINK); ++table_row; location_rows.set_name("LocationLocRows"); @@ -729,13 +729,13 @@ LocationUI::LocationUI () table->set_col_spacing (0, 32); table_row = 0; - table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1); + table->attach (*manage (new Label ("")), 0, 2, table_row, table_row + 1, Gtk::SHRINK, Gtk::SHRINK); ++table_row; l = manage (new Label (_("Ranges (Including CD Track Ranges)"))); l->set_alignment (0, 0.5); l->set_use_markup (true); - table->attach (*l, 0, 2, table_row, table_row + 1); + table->attach (*l, 0, 2, table_row, table_row + 1, Gtk::FILL | Gtk::EXPAND, Gtk::SHRINK); ++table_row; range_rows.set_name("LocationRangeRows"); @@ -760,7 +760,7 @@ LocationUI::LocationUI () add_button_box->pack_start (add_location_button, true, true); add_button_box->pack_start (add_range_button, true, true); - vbox->pack_start (loc_range_panes); + vbox->pack_start (loc_range_panes, true, true); vbox->pack_start (*add_button_box, false, false); pack_start (*vbox); -- cgit v1.2.3