mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-24 17:26:58 +00:00
Fix bot about text layout on wide windows.
This commit is contained in:
parent
730c968b1e
commit
484c647b5b
@ -929,9 +929,6 @@ QSize Message::performCountOptimalSize() {
|
||||
- st::msgPadding.left()
|
||||
- st::msgPadding.right();
|
||||
if (withVisibleText) {
|
||||
if (botTop) {
|
||||
minHeight += botTop->height;
|
||||
}
|
||||
if (maxWidth < textualWidth) {
|
||||
minHeight -= text().minHeight();
|
||||
minHeight += text().countHeight(innerWidth);
|
||||
|
Loading…
Reference in New Issue
Block a user