From 2fd638540341e8354b5af35414580c0b1b83b486 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 28 Feb 2020 19:56:08 +0100 Subject: [PATCH] Make small sidebar sizing consistent --- src/Splitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Splitter.cpp b/src/Splitter.cpp index a2f95ed..0437585 100644 --- a/src/Splitter.cpp +++ b/src/Splitter.cpp @@ -167,7 +167,7 @@ splitter::calculateSidebarSizes(const QFont &f) const auto height = static_cast(QFontMetrics{f}.lineSpacing()); SideBarSizes sz; - sz.small = std::ceil(3.5 * height + height / 4.0); + sz.small = std::ceil(3.8 * height); sz.normal = std::ceil(16 * height); sz.groups = std::ceil(3 * height); sz.collapsePoint = 2 * sz.normal;