Add some additional space for TimePickerBox.

This commit is contained in:
John Preston 2022-04-16 20:26:49 +04:00
parent 59fb61e3e6
commit 90f99ebfbe
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ Fn<TimeId()> 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 = [=](