mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 02:33:23 +02:00
fixing case with KB pw prop./bolding error msg
This commit is contained in:
parent
30f1016f1c
commit
9f894ae977
4 changed files with 14 additions and 3 deletions
|
@ -81,6 +81,7 @@ Item {
|
|||
color: "red";
|
||||
font.family: signUpBody.fontFamily
|
||||
font.pixelSize: 18
|
||||
font.bold: completeProfileBody.fontBold
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: completeProfileBody.errorString
|
||||
|
|
|
@ -124,6 +124,7 @@ Item {
|
|||
color: "red";
|
||||
font.family: linkAccountBody.fontFamily
|
||||
font.pixelSize: linkAccountBody.textFieldFontSize
|
||||
font.bold: linkAccountBody.fontBold
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: ""
|
||||
|
|
|
@ -75,7 +75,9 @@ Item {
|
|||
emailField.anchors.top = usernameField.bottom;
|
||||
emailField.anchors.topMargin = 1.5 * hifi.dimensions.contentSpacing.y;
|
||||
passwordField.text = "";
|
||||
usernameField.focus = true;
|
||||
usernameField.forceActiveFocus();
|
||||
root.text = "";
|
||||
root.isPassword = false;
|
||||
loginContainer.visible = true;
|
||||
}
|
||||
|
||||
|
@ -117,6 +119,7 @@ Item {
|
|||
color: "red";
|
||||
font.family: signUpBody.fontFamily
|
||||
font.pixelSize: 18
|
||||
font.bold: signUpBody.fontBold
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
text: ""
|
||||
|
@ -135,7 +138,6 @@ Item {
|
|||
top: parent.top
|
||||
topMargin: loginErrorMessage.height
|
||||
}
|
||||
focus: true
|
||||
Keys.onPressed: {
|
||||
if (!usernameField.visible) {
|
||||
return;
|
||||
|
|
|
@ -102,6 +102,7 @@ Item {
|
|||
leftMargin: (parent.width - width) / 2
|
||||
topMargin: hifi.dimensions.contentSpacing.y
|
||||
}
|
||||
focus: true
|
||||
font.family: "Fira Sans"
|
||||
font.pixelSize: usernameCollisionBody.textFieldFontSize
|
||||
styleRenderType: Text.QtRendering
|
||||
|
@ -112,7 +113,9 @@ Item {
|
|||
|
||||
onFocusChanged: {
|
||||
root.text = "";
|
||||
root.isPassword = !focus;
|
||||
if (focus) {
|
||||
root.isPassword = false;
|
||||
}
|
||||
}
|
||||
|
||||
Keys.onPressed: {
|
||||
|
@ -128,6 +131,10 @@ Item {
|
|||
break;
|
||||
}
|
||||
}
|
||||
Component.onCompleted: {
|
||||
root.text = "";
|
||||
root.isPassword = false;
|
||||
}
|
||||
}
|
||||
|
||||
// Override ScrollingWindow's keyboard that would be at very bottom of dialog.
|
||||
|
|
Loading…
Reference in a new issue