Make small sidebar sizing consistent

This commit is contained in:
Nicolas Werner 2020-02-28 19:56:08 +01:00
parent b80697b072
commit 2fd6385403

View file

@ -167,7 +167,7 @@ splitter::calculateSidebarSizes(const QFont &f)
const auto height = static_cast<double>(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;