mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
get editor controls layout/midi track header/scroomer to be the correct height
Using is_mapped() is wrong, since if the editor was not visible (i.e. program has not yet shown the editor "tab", then _group_tabs will have is_visible() == true but is_mapped() == false
This commit is contained in:
parent
1b097d57bd
commit
bf3719f63f
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ Editor::reset_controls_layout_width ()
|
|||
edit_controls_vbox.size_request (req);
|
||||
w = req.width;
|
||||
|
||||
if (_group_tabs->is_mapped()) {
|
||||
if (_group_tabs->is_visible()) {
|
||||
_group_tabs->size_request (req);
|
||||
w += req.width;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue