Increase the height of the roomlist items
This commit is contained in:
parent
a671bd62c4
commit
6a90ed574e
@ -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 New Issue
Block a user