mirror of
https://github.com/lubosz/overte.git
synced 2025-04-13 21:06:32 +02:00
Update qt launcher button style and error color
This commit is contained in:
parent
22c96e7822
commit
5c93f1bb6e
6 changed files with 7 additions and 49 deletions
|
@ -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");
|
||||
|
|
|
@ -125,7 +125,6 @@ Item {
|
|||
HFButton {
|
||||
id: button
|
||||
width: 110
|
||||
height: 50
|
||||
|
||||
text: "NEXT"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -2,6 +2,6 @@ import QtQuick 2.3
|
|||
import QtQuick 2.1
|
||||
|
||||
HFTextRegular {
|
||||
color: "#FF9999"
|
||||
color: "#FF0014"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue