2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Improve box rounding and buttons.

This commit is contained in:
John Preston
2022-02-07 18:35:32 +03:00
parent feb2d3066e
commit 7b0513a1ea
11 changed files with 78 additions and 45 deletions

View File

@@ -1381,7 +1381,7 @@ void EditNameBox::prepare() {
newHeight += st::contactSkip + _last->height();
newHeight += st::boxPadding.bottom() + st::contactPadding.bottom();
setDimensions(st::boxWideWidth, newHeight);
setDimensions(st::boxWidth, newHeight);
addButton(tr::lng_settings_save(), [=] { save(); });
addButton(tr::lng_cancel(), [=] { closeBox(); });