mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Make small sidebar sizing consistent
This commit is contained in:
parent
b80697b072
commit
2fd6385403
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue