1
0
mirror of https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git synced 2025-04-01 02:42:39 +08:00

Auto Hide Tab now shows text as tooltip - for icon only buttons to help the user

This commit is contained in:
Uwe Kindler 2022-11-05 10:14:01 +01:00
parent bd0b2ad483
commit 1b2b90396a

View File

@ -222,6 +222,7 @@ void CAutoHideTab::setDockWidget(CDockWidget* DockWidget)
d->DockWidget = DockWidget;
setText(DockWidget->windowTitle());
setIcon(d->DockWidget->icon());
setToolTip(DockWidget->windowTitle());
}