2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Adjusted button style in intro steps to style in settings steps.

This commit is contained in:
23rd
2022-12-27 21:14:06 +03:00
parent 690e1013cf
commit 5bf46c0e90
5 changed files with 10 additions and 11 deletions

View File

@@ -84,10 +84,9 @@ introCoverDuration: 200;
introNextButton: RoundButton(defaultActiveButton) {
width: 300px;
height: 56px;
textTop: 17px;
font: font(17px semibold);
height: 42px;
textTop: 11px;
font: font(boxFontSize semibold);
}
introStepFieldTop: 96px;

View File

@@ -128,6 +128,8 @@ Widget::Widget(
_back->hide(anim::type::instant);
_next->entity()->setClickedCallback([=] { getStep()->submit(); });
_next->entity()->setTextTransform(
Ui::RoundButton::TextTransform::NoTransform);
if (_changeLanguage) {
_changeLanguage->finishAnimating();