Commit ff7e0aec authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix minimum size hint for sidebar, icon only

parent 934ab379
Pipeline #142672 passed with stage
in 2 minutes and 35 seconds
......@@ -288,7 +288,7 @@ Sidebar::Sidebar(KMultiTabBar::KMultiTabBarPosition pos, MainWindow *mainwin, QW
QSize Sidebar::minimumSizeHint() const
{
auto size = KMultiTabBar::sizeHint();
auto size = KMultiTabBar::minimumSizeHint();
const auto fm = QFontMetrics(font());
const int height = fm.lineSpacing();
size.setHeight(height + 4);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment