2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Cross-fade login QR.

This commit is contained in:
John Preston
2019-11-26 17:27:09 +03:00
parent f4bf79b067
commit a0152557ec
11 changed files with 78 additions and 41 deletions

View File

@@ -50,7 +50,6 @@ PwdCheckWidget::PwdCheckWidget(
setTitleText(tr::lng_signin_title());
updateDescriptionText();
setErrorBelowLink(true);
if (_hint.isEmpty()) {
_pwdHint->hide();
@@ -79,6 +78,10 @@ void PwdCheckWidget::refreshLang() {
updateControlsGeometry();
}
int PwdCheckWidget::errorTop() const {
return contentTop() + st::introErrorBelowLinkTop;
}
void PwdCheckWidget::resizeEvent(QResizeEvent *e) {
Step::resizeEvent(e);
updateControlsGeometry();