Themeing changes
This commit is contained in:
18
Main.qml
18
Main.qml
@@ -37,10 +37,16 @@ Item {
|
|||||||
}
|
}
|
||||||
height: 50
|
height: 50
|
||||||
background: null
|
background: null
|
||||||
font.family: "Rajdhani"
|
contentItem: Text {
|
||||||
font.capitalization: Font.AllUppercase
|
text: session.displayText
|
||||||
font.bold: true
|
color: "white"
|
||||||
font.pointSize: 30
|
font.family: "Rajdhani"
|
||||||
|
font.capitalization: Font.AllUppercase
|
||||||
|
font.bold: true
|
||||||
|
font.pointSize: 30
|
||||||
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
elide: Text.ElideRight
|
||||||
|
}
|
||||||
indicator: Image {
|
indicator: Image {
|
||||||
id: sessionArrow
|
id: sessionArrow
|
||||||
source: "icons/down-arrow.png"
|
source: "icons/down-arrow.png"
|
||||||
@@ -130,6 +136,7 @@ Item {
|
|||||||
font.family: "Rajdhani"
|
font.family: "Rajdhani"
|
||||||
font.pointSize: 30
|
font.pointSize: 30
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
color: "white"
|
||||||
Keys.onEscapePressed: {
|
Keys.onEscapePressed: {
|
||||||
mainStack.forceActiveFocus();
|
mainStack.forceActiveFocus();
|
||||||
}
|
}
|
||||||
@@ -162,13 +169,14 @@ Item {
|
|||||||
font.family: "Rajdhani"
|
font.family: "Rajdhani"
|
||||||
font.pointSize: 30
|
font.pointSize: 30
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
color: "white"
|
||||||
Keys.onEscapePressed: {
|
Keys.onEscapePressed: {
|
||||||
mainStack.forceActiveFocus();
|
mainStack.forceActiveFocus();
|
||||||
}
|
}
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
attemptingToLogin = true
|
attemptingToLogin = true
|
||||||
var username = usernameField.text
|
var username = usernameField.text
|
||||||
if !usingCustomUser {
|
if (!usingCustomUser) {
|
||||||
username = userModel.lastUser.name
|
username = userModel.lastUser.name
|
||||||
}
|
}
|
||||||
sddm.login(username, passwordField.text, session.index)
|
sddm.login(username, passwordField.text, session.index)
|
||||||
|
|||||||
Reference in New Issue
Block a user