mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Fixed problem in AutoHideSideBar that prevented the dock container, that contained a vertical sidebar with many tabs, from shrinking vertically
This commit is contained in:
parent
8da0713bf0
commit
41bb861417
@ -414,7 +414,14 @@ void CAutoHideSideBar::saveState(QXmlStreamWriter& s) const
|
|||||||
QSize CAutoHideSideBar::minimumSizeHint() const
|
QSize CAutoHideSideBar::minimumSizeHint() const
|
||||||
{
|
{
|
||||||
QSize Size = sizeHint();
|
QSize Size = sizeHint();
|
||||||
Size.setWidth(10);
|
if (d->isHorizontal())
|
||||||
|
{
|
||||||
|
Size.setWidth(0);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Size.setHeight(0);
|
||||||
|
}
|
||||||
return Size;
|
return Size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user