mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:09:24 +02:00
reszing unameField/showing flavorText
This commit is contained in:
parent
3907eaf68f
commit
3f9c8a266d
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,7 @@ Item {
|
||||||
property bool failAfterSignUp: false
|
property bool failAfterSignUp: false
|
||||||
|
|
||||||
function login() {
|
function login() {
|
||||||
|
flavorText.visible = false
|
||||||
mainTextContainer.visible = false
|
mainTextContainer.visible = false
|
||||||
toggleLoading(true)
|
toggleLoading(true)
|
||||||
loginDialog.login(usernameField.text, passwordField.text)
|
loginDialog.login(usernameField.text, passwordField.text)
|
||||||
|
@ -140,6 +141,7 @@ Item {
|
||||||
focus: true
|
focus: true
|
||||||
placeholderText: "Username or Email"
|
placeholderText: "Username or Email"
|
||||||
activeFocusOnPress: true
|
activeFocusOnPress: true
|
||||||
|
onHeightChanged: d.resize(); onWidthChanged: d.resize();
|
||||||
|
|
||||||
ShortcutText {
|
ShortcutText {
|
||||||
z: 10
|
z: 10
|
||||||
|
@ -336,6 +338,7 @@ Item {
|
||||||
|
|
||||||
if (failAfterSignUp) {
|
if (failAfterSignUp) {
|
||||||
mainTextContainer.text = "Account created successfully."
|
mainTextContainer.text = "Account created successfully."
|
||||||
|
flavorText.visible = true
|
||||||
mainTextContainer.visible = true
|
mainTextContainer.visible = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -374,6 +377,7 @@ Item {
|
||||||
UserActivityLogger.logAction("encourageLoginDialog", data);
|
UserActivityLogger.logAction("encourageLoginDialog", data);
|
||||||
Settings.setValue("loginDialogPoppedUp", false);
|
Settings.setValue("loginDialogPoppedUp", false);
|
||||||
}
|
}
|
||||||
|
flavorText.visible = true
|
||||||
mainTextContainer.visible = true
|
mainTextContainer.visible = true
|
||||||
toggleLoading(false)
|
toggleLoading(false)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue