forgot to update rendering when orientation changes
This commit is contained in:
parent
af74a22845
commit
ce9a0962e6
1 changed files with 7 additions and 0 deletions
|
@ -413,6 +413,7 @@ void FbWinFrame::alignTabs() {
|
|||
applyTabContainer();
|
||||
}
|
||||
|
||||
FbTk::Orientation orig_orient = m_tab_container.orientation();
|
||||
int tabx = 0, taby = 0;
|
||||
switch (m_screen.getTabPlacement()) {
|
||||
case TOPLEFT:
|
||||
|
@ -457,6 +458,12 @@ void FbWinFrame::alignTabs() {
|
|||
break;
|
||||
}
|
||||
|
||||
if (m_tab_container.orientation() != orig_orient) {
|
||||
renderTabContainer();
|
||||
applyTabContainer();
|
||||
m_tab_container.clear();
|
||||
}
|
||||
|
||||
m_tab_container.move(tabx, taby);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue