summary refs log tree commit diff
path: root/src/Splitter.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-02-28 19:56:08 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-02-28 19:56:08 +0100
commit2fd638540341e8354b5af35414580c0b1b83b486 (patch)
treecf5c8a0a4842227c594609463efe9fb772881b40 /src/Splitter.cpp
parentFix encrypted messages being pinned to the bottom after read marker fix (diff)
downloadnheko-2fd638540341e8354b5af35414580c0b1b83b486.tar.xz
Make small sidebar sizing consistent
Diffstat (limited to 'src/Splitter.cpp')
-rw-r--r--src/Splitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Splitter.cpp b/src/Splitter.cpp

index a2f95ed4..04375853 100644 --- a/src/Splitter.cpp +++ b/src/Splitter.cpp
@@ -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;