Added CSS styling for AutoHideTab that is iconOnly

This commit is contained in:
Uwe Kindler
2022-11-04 10:22:10 +01:00
parent 279a9d7df9
commit 6f5e33a2ad
4 changed files with 122 additions and 27 deletions

View File

@@ -99,7 +99,6 @@ void AutoHideTabPrivate::updateOrientation()
{
_this->setText("");
_this->setOrientation(Qt::Horizontal);
_this->updateStyle();
}
else
{
@@ -249,4 +248,11 @@ void CAutoHideTab::mousePressEvent(QMouseEvent* event)
Super::mousePressEvent(event);
}
//============================================================================
bool CAutoHideTab::iconOnly() const
{
return CDockManager::testAutoHideConfigFlag(CDockManager::AutoHideSideBarsIconOnly) && !icon().isNull();
}
}