From 3e7d4af4a03cf2987b94376159d1c43e08854276 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Tue, 14 May 2024 01:01:01 +0300 Subject: [PATCH] Fixed reply bubble width for short quotes. --- Telegram/SourceFiles/history/view/history_view_reply.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_reply.cpp b/Telegram/SourceFiles/history/view/history_view_reply.cpp index 1b9df5db6..d2043b027 100644 --- a/Telegram/SourceFiles/history/view/history_view_reply.cpp +++ b/Telegram/SourceFiles/history/view/history_view_reply.cpp @@ -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), }; }