mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Add some additional space for TimePickerBox.
This commit is contained in:
@@ -39,7 +39,7 @@ Fn<TimeId()> TimePickerBox(
|
|||||||
phrases,
|
phrases,
|
||||||
std::less<>(),
|
std::less<>(),
|
||||||
[&](const QString &s) { return font->width(s); });
|
[&](const QString &s) { return font->width(s); });
|
||||||
return font->width(*maxPhrase);
|
return font->width(*maxPhrase) + font->spacew * 2;
|
||||||
}();
|
}();
|
||||||
const auto itemHeight = st::historyMessagesTTLPickerItemHeight;
|
const auto itemHeight = st::historyMessagesTTLPickerItemHeight;
|
||||||
auto paintCallback = [=](
|
auto paintCallback = [=](
|
||||||
|
Reference in New Issue
Block a user