mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed text elision of vote amount in polls with reactions.
This commit is contained in:
parent
ef474f0dc8
commit
48eb408fb8
1 changed files with 5 additions and 3 deletions
|
@ -803,9 +803,11 @@ void Poll::paintInlineFooter(
|
|||
p,
|
||||
left,
|
||||
top,
|
||||
std::min(
|
||||
_totalVotesLabel.maxWidth(),
|
||||
paintw - _parent->bottomInfoFirstLineWidth()),
|
||||
_parent->data()->reactions().empty()
|
||||
? std::min(
|
||||
_totalVotesLabel.maxWidth(),
|
||||
paintw - _parent->bottomInfoFirstLineWidth())
|
||||
: _totalVotesLabel.maxWidth(),
|
||||
width());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue