2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

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

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 = [=](