diff --git a/src/AutoHideSideBar.cpp b/src/AutoHideSideBar.cpp index f08172e..7dea2fe 100644 --- a/src/AutoHideSideBar.cpp +++ b/src/AutoHideSideBar.cpp @@ -414,7 +414,14 @@ void CAutoHideSideBar::saveState(QXmlStreamWriter& s) const QSize CAutoHideSideBar::minimumSizeHint() const { QSize Size = sizeHint(); - Size.setWidth(10); + if (d->isHorizontal()) + { + Size.setWidth(0); + } + else + { + Size.setHeight(0); + } return Size; }