mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Add missing update style to dock widget side tab
This commit is contained in:
parent
263c73188a
commit
daa52e109e
@ -271,6 +271,7 @@ void CDockWidgetSideTab::setOrientation(Qt::Orientation Orientation)
|
|||||||
d->Orientation = Orientation;
|
d->Orientation = Orientation;
|
||||||
d->Layout->setDirection(Orientation == Qt::Vertical ? QBoxLayout::TopToBottom : QBoxLayout::LeftToRight);
|
d->Layout->setDirection(Orientation == Qt::Vertical ? QBoxLayout::TopToBottom : QBoxLayout::LeftToRight);
|
||||||
d->TitleLabel->setOrientation(Orientation);
|
d->TitleLabel->setOrientation(Orientation);
|
||||||
|
updateStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user