mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 21:36:47 +02:00
update launcher text
This commit is contained in:
parent
4d001a1040
commit
1a42ad0736
3 changed files with 6 additions and 20 deletions
|
@ -8,7 +8,7 @@ import HQLauncher 1.0
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
property string titleText: "Sign in and pick a password"
|
property string titleText: "Create Your Username and Password"
|
||||||
property string usernamePlaceholder: "Username"
|
property string usernamePlaceholder: "Username"
|
||||||
property string passwordPlaceholder: "Set a password (must be at least 6 characters)"
|
property string passwordPlaceholder: "Set a password (must be at least 6 characters)"
|
||||||
property int marginLeft: root.width * 0.15
|
property int marginLeft: root.width * 0.15
|
||||||
|
@ -28,6 +28,7 @@ Item {
|
||||||
HFTextHeader {
|
HFTextHeader {
|
||||||
id: title
|
id: title
|
||||||
width: 481
|
width: 481
|
||||||
|
wrapMode: Text.WordWrap
|
||||||
lineHeight: 35
|
lineHeight: 35
|
||||||
lineHeightMode: Text.FixedHeight
|
lineHeightMode: Text.FixedHeight
|
||||||
text: LauncherState.lastSignupErrorMessage.length == 0 ? root.titleText : "Uh oh"
|
text: LauncherState.lastSignupErrorMessage.length == 0 ? root.titleText : "Uh oh"
|
||||||
|
@ -39,21 +40,6 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HFTextRegular {
|
|
||||||
id: instruction
|
|
||||||
width: 425
|
|
||||||
|
|
||||||
text: "Use the email address you applied for access with"
|
|
||||||
visible: LauncherState.lastSignupErrorMessage.length == 0
|
|
||||||
|
|
||||||
anchors {
|
|
||||||
left: root.left
|
|
||||||
leftMargin: root.marginLeft
|
|
||||||
top: title.bottom
|
|
||||||
topMargin: 18
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HFTextError {
|
HFTextError {
|
||||||
id: error
|
id: error
|
||||||
|
|
||||||
|
@ -88,10 +74,10 @@ Item {
|
||||||
|
|
||||||
enabled: root.enabled
|
enabled: root.enabled
|
||||||
|
|
||||||
placeholderText: "Email Address"
|
placeholderText: "Verify Your Email"
|
||||||
seperatorColor: Qt.rgba(1, 1, 1, 0.3)
|
seperatorColor: Qt.rgba(1, 1, 1, 0.3)
|
||||||
anchors {
|
anchors {
|
||||||
top: instruction.bottom
|
top: error.visible ? error.bottom : title.bottom
|
||||||
left: root.left
|
left: root.left
|
||||||
leftMargin: root.marginLeft
|
leftMargin: root.marginLeft
|
||||||
topMargin: 18
|
topMargin: 18
|
||||||
|
|
|
@ -45,7 +45,7 @@ Item {
|
||||||
HFTextRegular {
|
HFTextRegular {
|
||||||
id: description
|
id: description
|
||||||
|
|
||||||
text: "We seem to have a problem.\n Please restart Launcher."
|
text: "We seem to have a problem.\n Please restart."
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
top: header.bottom
|
top: header.bottom
|
||||||
|
|
|
@ -77,7 +77,7 @@ Item {
|
||||||
width: 430
|
width: 430
|
||||||
|
|
||||||
text: LauncherState.lastUsedUsername
|
text: LauncherState.lastUsedUsername
|
||||||
placeholderText: "Username"
|
placeholderText: "Username or Email address"
|
||||||
|
|
||||||
seperatorColor: Qt.rgba(1, 1, 1, 0.3)
|
seperatorColor: Qt.rgba(1, 1, 1, 0.3)
|
||||||
anchors {
|
anchors {
|
||||||
|
|
Loading…
Reference in a new issue