Fixed reply bubble width for short quotes.

This commit is contained in:
23rd 2024-05-14 01:01:01 +03:00
parent bc11c66777
commit 3e7d4af4a0

View file

@ -583,7 +583,7 @@ QSize Reply::countMultilineOptimalSize(
textGeometry(max, previewSkip, &elided));
_minHeightExpandable = elided ? 1 : 0;
return {
result.width,
result.width + st::historyReplyPadding.right(),
std::max(result.height, st::normalFont->height),
};
}