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:
@@ -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(); });
|
||||
|
Reference in New Issue
Block a user