Add some additional space for TimePickerBox.
This commit is contained in:
parent
59fb61e3e6
commit
90f99ebfbe
|
@ -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 = [=](
|
||||||
|
|
Loading…
Reference in New Issue