mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
Remove unnecessary height setting for timeline messages
This will remove some minor flickering (hopefully for good)
This commit is contained in:
parent
9f43ff876a
commit
7e16730692
1 changed files with 0 additions and 1 deletions
|
@ -115,7 +115,6 @@ public:
|
||||||
&TextLabel::adjustHeight);
|
&TextLabel::adjustHeight);
|
||||||
document()->setDocumentMargin(0);
|
document()->setDocumentMargin(0);
|
||||||
|
|
||||||
setFixedHeight(QFontMetrics(QFont()).lineSpacing() + 4);
|
|
||||||
setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue