Removing labels, adding flavor text, moving links

This commit is contained in:
Alexia Mandeville 2018-09-05 16:25:18 -07:00
parent dcf2e00bd7
commit 1e697ad45f

View file

@ -87,6 +87,21 @@ Item {
height: 48
}
FlavorText {
id: flavorTextContainer
anchors {
top: parent.top
margins: 0
topMargin: hifi.dimensions.contentSpacing.y
}
text: qsTr("Sign in to High Fidelity to make friends, get HFC, and buy interesting things on the Marketplace!")
wrapMode: Text.WordWrap
lineHeight: 2
lineHeightMode: Text.ProportionalHeight
horizontalAlignment: Text.AlignHCenter
}
ShortcutText {
id: mainTextContainer
anchors {
@ -97,7 +112,6 @@ Item {
}
visible: false
text: qsTr("Username or password incorrect.")
wrapMode: Text.WordWrap
color: hifi.colors.redAccent
@ -123,15 +137,14 @@ Item {
text: Settings.getValue("wallet/savedUsername", "");
width: parent.width
focus: true
label: "Username or Email"
placeholderText: "Username or Email"
activeFocusOnPress: true
ShortcutText {
z: 10
anchors {
left: usernameField.left
top: usernameField.top
left: usernameField.right
top: usernameField.bottom
leftMargin: usernameField.textFieldLabel.contentWidth + 10
topMargin: -19
}
@ -152,7 +165,6 @@ Item {
TextField {
id: passwordField
width: parent.width
label: "Password"
placeholderText: "Password"
echoMode: showPassword.checked ? TextInput.Normal : TextInput.Password
activeFocusOnPress: true
@ -160,8 +172,8 @@ Item {
ShortcutText {
z: 10
anchors {
left: passwordField.left
top: passwordField.top
left: passwordField.right
top: passwordField.bottom
leftMargin: passwordField.textFieldLabel.contentWidth + 10
topMargin: -19
}