Remove Forgot labels in login dialog

This commit is contained in:
Gabriel Calero 2018-02-20 12:59:06 -03:00
parent c19664e3ca
commit 4839a8c720

View file

@ -117,62 +117,25 @@ Item {
} }
spacing: hifi.dimensions.contentSpacing.y / 2 spacing: hifi.dimensions.contentSpacing.y / 2
Row {
spacing: hifi.dimensions.contentSpacing.x
TextField { TextField {
id: usernameField id: usernameField
anchors { anchors {
verticalCenter: parent.verticalCenter horizontalCenter: parent.horizontalCenter
} }
width: 780 width: 1080
placeholderText: qsTr("Username or Email") placeholderText: qsTr("Username or Email")
} }
ShortcutText {
anchors {
verticalCenter: parent.verticalCenter
}
text: "<a href='https://highfidelity.com/users/password/new'>Forgot Username?</a>"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
linkColor: hifi.colors.blueAccent
onLinkActivated: loginDialog.openUrl(link)
}
}
Row {
spacing: hifi.dimensions.contentSpacing.x
TextField { TextField {
id: passwordField id: passwordField
anchors { anchors {
verticalCenter: parent.verticalCenter horizontalCenter: parent.horizontalCenter
} }
width: 780 width: 1080
placeholderText: qsTr("Password") placeholderText: qsTr("Password")
echoMode: TextInput.Password echoMode: TextInput.Password
} }
ShortcutText {
anchors {
verticalCenter: parent.verticalCenter
}
text: "<a href='https://highfidelity.com/users/password/new'>Forgot Password?</a>"
verticalAlignment: Text.AlignVCenter
horizontalAlignment: Text.AlignHCenter
linkColor: hifi.colors.blueAccent
onLinkActivated: loginDialog.openUrl(link)
}
}
} }
InfoItem { InfoItem {