mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Fix multi-forward notification layout (long name).
This commit is contained in:
parent
31b82a5d92
commit
9dc48522d8
1 changed files with 1 additions and 1 deletions
|
@ -676,7 +676,7 @@ void Notification::updateNotifyDisplay() {
|
||||||
if (_author) {
|
if (_author) {
|
||||||
itemTextCache.setText(st::dialogsTextStyle, _author->name);
|
itemTextCache.setText(st::dialogsTextStyle, _author->name);
|
||||||
p.setPen(st::dialogsTextFgService);
|
p.setPen(st::dialogsTextFgService);
|
||||||
itemTextCache.drawElided(p, r.left(), r.top(), r.width(), st::dialogsTextFont->height);
|
itemTextCache.drawElided(p, r.left(), r.top(), r.width());
|
||||||
r.setTop(r.top() + st::dialogsTextFont->height);
|
r.setTop(r.top() + st::dialogsTextFont->height);
|
||||||
}
|
}
|
||||||
p.setPen(st::dialogsTextFg);
|
p.setPen(st::dialogsTextFg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue