Update styling of qt launcher

This commit is contained in:
Ryan Huffman 2019-10-03 12:34:45 -07:00
parent 9abc9f5f70
commit 22c96e7822
5 changed files with 24 additions and 14 deletions

View file

@ -53,16 +53,15 @@ Item {
}
}
HFTextRegular {
HFTextError {
id: error
width: 425
height: 22
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
color: "#FF9999"
visible: LauncherState.lastSignupErrorMessage.length > 0
text: LauncherState.lastSignupErrorMessage
anchors {
@ -167,9 +166,6 @@ Item {
Text {
width: 214
height: 12
text: "Already have an account?"
font.family: "Graphik"
font.pixelSize: 14
@ -177,13 +173,15 @@ Item {
anchors {
top: button.bottom
topMargin: 19
topMargin: 16
left: button.left
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: {
console.log("clicked");
LauncherState.gotoLogin();

View file

@ -48,7 +48,7 @@ Item {
}
}
HFTextRegular {
HFTextError {
id: error
width: 425
height: 22
@ -56,8 +56,6 @@ Item {
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
color: "#FF9999"
visible: LauncherState.lastLoginErrorMessage.length > 0
text: LauncherState.lastLoginErrorMessage
anchors {
@ -141,9 +139,6 @@ Item {
}
Text {
width: 214
height: 12
text: "Create New Account"
font.family: "Graphik"
font.pixelSize: 14
@ -151,13 +146,15 @@ Item {
anchors {
top: button.bottom
topMargin: 19
topMargin: 16
left: button.left
}
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: {
console.log("clicked");
LauncherState.gotoSignup();

View file

@ -31,4 +31,11 @@ Button {
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
}
MouseArea {
id: mouseArea
cursorShape: Qt.PointingHandCursor
anchors.fill: parent
onPressed: mouse.accepted = false
}
}

View file

@ -0,0 +1,7 @@
import QtQuick 2.3
import QtQuick 2.1
HFTextRegular {
color: "#FF9999"
}

View file

@ -41,6 +41,7 @@ TextField {
MouseArea {
anchors.fill: parent
cursorShape: Qt.PointingHandCursor
onClicked: {
if (control.echoMode === TextInput.Password) {
control.echoMode = TextInput.Normal;