Update qt launcher button style and error color

This commit is contained in:
Ryan Huffman 2019-10-03 13:02:45 -07:00
parent 22c96e7822
commit 5c93f1bb6e
6 changed files with 7 additions and 49 deletions

View file

@ -68,13 +68,12 @@ Item {
HFButton {
id: button
width: 166
height: 35
text: "Restart"
text: "RESTART"
anchors {
top: description.bottom
topMargin: 15
topMargin: 60
horizontalCenter: description.horizontalCenter
}
@ -83,18 +82,6 @@ Item {
}
}
HFTextLogo {
id: hifilogo
anchors {
right: root.right
rightMargin: 17
bottom: root.bottom
bottomMargin: 17
}
}
Component.onCompleted: {
root.parent.setStateInfoState("left");
root.parent.setBuildInfoState("right");

View file

@ -125,7 +125,6 @@ Item {
HFButton {
id: button
width: 110
height: 50
text: "NEXT"

View file

@ -3,6 +3,9 @@ import QtQuick.Controls 2.1
Button {
id: control
height: 50
property string backgroundColor: "#00000000"
property string borderColor: "#FFFFFF"
property string textColor: "#FFFFFF"

View file

@ -2,6 +2,6 @@ import QtQuick 2.3
import QtQuick 2.1
HFTextRegular {
color: "#FF9999"
color: "#FF0014"
}

View file

@ -6,7 +6,7 @@ TextField {
font.family: "Graphik Regular"
font.pointSize: 10.5
color: "#7e8c81"
color: text.length == 0 ? "#7e8c81" : "#000000"
property bool togglePasswordField: false
verticalAlignment: TextInput.AlignVCenter

View file

@ -35,37 +35,6 @@ Item {
loader.source = url;
}
HFTextRegular {
id: stateInfo
font.pixelSize: 12
anchors.right: root.right
anchors.top: root.top
color: "#FFFFFF"
text: LauncherState.uiState.toString() + " - " + LauncherState.applicationState
states: [
State {
name: "left"
AnchorChanges {
target: stateInfo
anchors.left: root.left
anchors.right: undefined
}
},
State {
name: "right"
AnchorChanges {
target: stateInfo
anchors.right: root.right
anchors.left: undefined
}
}
]
}
HFTextRegular {
id: buildInfo