mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Slightly improved position of code input in intro step.
This commit is contained in:
@@ -150,7 +150,9 @@ void CodeWidget::resizeEvent(QResizeEvent *e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CodeWidget::updateControlsGeometry() {
|
void CodeWidget::updateControlsGeometry() {
|
||||||
_code->moveToLeft(contentLeft(), contentTop() + st::introStepFieldTop);
|
_code->moveToLeft(
|
||||||
|
contentLeft() - st::shakeShift - st::lineWidth,
|
||||||
|
contentTop() + st::introStepFieldTop + st::introPhoneTop * 3);
|
||||||
auto linkTop = _code->y() + _code->height() + st::introLinkTop;
|
auto linkTop = _code->y() + _code->height() + st::introLinkTop;
|
||||||
_noTelegramCode->moveToLeft(contentLeft() + st::buttonRadius, linkTop);
|
_noTelegramCode->moveToLeft(contentLeft() + st::buttonRadius, linkTop);
|
||||||
_callLabel->moveToLeft(contentLeft() + st::buttonRadius, linkTop);
|
_callLabel->moveToLeft(contentLeft() + st::buttonRadius, linkTop);
|
||||||
|
Reference in New Issue
Block a user