Setup tab directions correctly depending on where they are located.
git-svn-id: svn://localhost/ardour2/branches/3.0@7676 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
04d412d3c7
commit
6d21e901cd
@ -738,8 +738,13 @@ PortMatrix::setup_notebooks ()
|
|||||||
|
|
||||||
_ignore_notebook_page_selected = false;
|
_ignore_notebook_page_selected = false;
|
||||||
|
|
||||||
_vnotebook.set_tab_pos (POS_LEFT);
|
if (_arrangement == TOP_TO_RIGHT) {
|
||||||
_hnotebook.set_tab_pos (POS_TOP);
|
_vnotebook.set_tab_pos (POS_RIGHT);
|
||||||
|
_hnotebook.set_tab_pos (POS_TOP);
|
||||||
|
} else {
|
||||||
|
_vnotebook.set_tab_pos (POS_LEFT);
|
||||||
|
_hnotebook.set_tab_pos (POS_BOTTOM);
|
||||||
|
}
|
||||||
|
|
||||||
if (h_current_page != -1 && _hnotebook.get_n_pages() > h_current_page) {
|
if (h_current_page != -1 && _hnotebook.get_n_pages() > h_current_page) {
|
||||||
_hnotebook.set_current_page (h_current_page);
|
_hnotebook.set_current_page (h_current_page);
|
||||||
|
Loading…
Reference in New Issue
Block a user