Skip to content

Commit

Permalink
Fixed problem in AutoHideSideBar that prevented the dock container, t…
Browse files Browse the repository at this point in the history
…hat contained a vertical sidebar with many tabs, from shrinking vertically
  • Loading branch information
githubuser0xFFFF committed May 8, 2024
1 parent 8da0713 commit 41bb861
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/AutoHideSideBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 41bb861

Please sign in to comment.