mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 03:22:44 +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 {
|
||||
id: root
|
||||
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 passwordPlaceholder: "Set a password (must be at least 6 characters)"
|
||||
property int marginLeft: root.width * 0.15
|
||||
|
@ -28,6 +28,7 @@ Item {
|
|||
HFTextHeader {
|
||||
id: title
|
||||
width: 481
|
||||
wrapMode: Text.WordWrap
|
||||
lineHeight: 35
|
||||
lineHeightMode: Text.FixedHeight
|
||||
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 {
|
||||
id: error
|
||||
|
||||
|
@ -88,10 +74,10 @@ Item {
|
|||
|
||||
enabled: root.enabled
|
||||
|
||||
placeholderText: "Email Address"
|
||||
placeholderText: "Verify Your Email"
|
||||
seperatorColor: Qt.rgba(1, 1, 1, 0.3)
|
||||
anchors {
|
||||
top: instruction.bottom
|
||||
top: error.visible ? error.bottom : title.bottom
|
||||
left: root.left
|
||||
leftMargin: root.marginLeft
|
||||
topMargin: 18
|
||||
|
|
|
@ -45,7 +45,7 @@ Item {
|
|||
HFTextRegular {
|
||||
id: description
|
||||
|
||||
text: "We seem to have a problem.\n Please restart Launcher."
|
||||
text: "We seem to have a problem.\n Please restart."
|
||||
|
||||
anchors {
|
||||
top: header.bottom
|
||||
|
|
|
@ -77,7 +77,7 @@ Item {
|
|||
width: 430
|
||||
|
||||
text: LauncherState.lastUsedUsername
|
||||
placeholderText: "Username"
|
||||
placeholderText: "Username or Email address"
|
||||
|
||||
seperatorColor: Qt.rgba(1, 1, 1, 0.3)
|
||||
anchors {
|
||||
|
|
Loading…
Reference in a new issue