Remove "smaller" track height (basically just a broken version of small anyway).

Remove no-longer-necessary cruft related to non-editable track names (which do not exist).
Fix smallest height to be correctly padded (just large enough to hold the button row without ugly clipping).
Fix resizing of tracks when renaming (issue #4075).


git-svn-id: svn://localhost/ardour2/branches/3.0@9665 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2011-06-02 00:06:35 +00:00
parent ba5b31dfdf
commit b27a3d99ac
7 changed files with 20 additions and 64 deletions

View file

@ -867,8 +867,6 @@ RouteTimeAxisView::set_height (uint32_t h)
if (height >= preset_height (HeightNormal)) {
_controls_padding_table.set_row_spacings (2);
reset_meter();
gm.get_gain_slider().show();
@ -888,9 +886,7 @@ RouteTimeAxisView::set_height (uint32_t h)
playlist_button.show();
}
} else if (height >= preset_height (HeightSmaller)) {
_controls_padding_table.set_row_spacings (2);
} else {
reset_meter();
@ -911,10 +907,6 @@ RouteTimeAxisView::set_height (uint32_t h)
playlist_button.hide ();
}
} else {
_controls_padding_table.set_row_spacings (0);
}
if (height_changed && !no_redraw) {