mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Don't alter horizontal padding when shrinking tracks to their minimum height (part of #4014).
git-svn-id: svn://localhost/ardour2/branches/3.0@9472 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bcb554a190
commit
378ea3430f
3 changed files with 15 additions and 6 deletions
|
|
@ -866,7 +866,7 @@ RouteTimeAxisView::set_height (uint32_t h)
|
|||
|
||||
if (height >= preset_height (HeightNormal)) {
|
||||
|
||||
controls_table.set_border_width (2);
|
||||
_controls_padding_table.set_row_spacings (2);
|
||||
|
||||
reset_meter();
|
||||
|
||||
|
|
@ -889,8 +889,8 @@ RouteTimeAxisView::set_height (uint32_t h)
|
|||
|
||||
} else if (height >= preset_height (HeightSmaller)) {
|
||||
|
||||
controls_table.set_border_width (2);
|
||||
|
||||
_controls_padding_table.set_row_spacings (2);
|
||||
|
||||
reset_meter();
|
||||
|
||||
gm.get_gain_slider().hide();
|
||||
|
|
@ -912,7 +912,7 @@ RouteTimeAxisView::set_height (uint32_t h)
|
|||
|
||||
} else {
|
||||
|
||||
controls_table.set_border_width (0);
|
||||
_controls_padding_table.set_row_spacings (0);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue