mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Increase the height of the roomlist items
This commit is contained in:
parent
a671bd62c4
commit
6a90ed574e
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ getMetrics(const QFont &font)
|
||||||
const int height = QFontMetrics(font).lineSpacing();
|
const int height = QFontMetrics(font).lineSpacing();
|
||||||
|
|
||||||
m.unit = height;
|
m.unit = height;
|
||||||
m.maxHeight = std::ceil((double)height * 3.5);
|
m.maxHeight = std::ceil((double)height * 3.8);
|
||||||
m.iconSize = std::ceil((double)height * 2.5);
|
m.iconSize = std::ceil((double)height * 2.8);
|
||||||
m.padding = std::ceil((double)height / 2.0);
|
m.padding = std::ceil((double)height / 2.0);
|
||||||
m.unreadLineWidth = m.padding - m.padding / 3;
|
m.unreadLineWidth = m.padding - m.padding / 3;
|
||||||
m.unreadLineOffset = m.padding - m.padding / 4;
|
m.unreadLineOffset = m.padding - m.padding / 4;
|
||||||
|
|
Loading…
Reference in a new issue