From 90f99ebfbe5307adaabc821473948fd52565a1dd Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 16 Apr 2022 20:26:49 +0400 Subject: [PATCH] Add some additional space for TimePickerBox. --- Telegram/SourceFiles/ui/boxes/time_picker_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/ui/boxes/time_picker_box.cpp b/Telegram/SourceFiles/ui/boxes/time_picker_box.cpp index b3ff7dc677..43a5e50a1e 100644 --- a/Telegram/SourceFiles/ui/boxes/time_picker_box.cpp +++ b/Telegram/SourceFiles/ui/boxes/time_picker_box.cpp @@ -39,7 +39,7 @@ Fn TimePickerBox( phrases, std::less<>(), [&](const QString &s) { return font->width(s); }); - return font->width(*maxPhrase); + return font->width(*maxPhrase) + font->spacew * 2; }(); const auto itemHeight = st::historyMessagesTTLPickerItemHeight; auto paintCallback = [=](