mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Reverse the order of vertical tabs in the port matrix
when they are on the right hand side, for reasons explained in the comment. git-svn-id: svn://localhost/ardour2/branches/3.0@10366 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
44bfe88366
commit
b077f64f62
1 changed files with 9 additions and 1 deletions
|
|
@ -765,7 +765,15 @@ PortMatrix::setup_notebooks ()
|
||||||
Label* label = manage (new Label ((*i)->name));
|
Label* label = manage (new Label ((*i)->name));
|
||||||
label->set_angle (_arrangement == LEFT_TO_BOTTOM ? 90 : -90);
|
label->set_angle (_arrangement == LEFT_TO_BOTTOM ? 90 : -90);
|
||||||
label->show ();
|
label->show ();
|
||||||
|
if (_arrangement == LEFT_TO_BOTTOM) {
|
||||||
_vnotebook.prepend_page (*dummy, *label);
|
_vnotebook.prepend_page (*dummy, *label);
|
||||||
|
} else {
|
||||||
|
/* Reverse the order of vertical tabs when they are on the right hand side
|
||||||
|
so that from top to bottom it is the same order as that from left to right
|
||||||
|
for the top tabs.
|
||||||
|
*/
|
||||||
|
_vnotebook.append_page (*dummy, *label);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (PortGroupList::List::const_iterator i = _ports[_column_index].begin(); i != _ports[_column_index].end(); ++i) {
|
for (PortGroupList::List::const_iterator i = _ports[_column_index].begin(); i != _ports[_column_index].end(); ++i) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue