Compare commits

...

5 Commits

Author SHA1 Message Date
3f0f8cb7d1 --amend 2025-01-12 03:27:48 -06:00
70128628ec Refont
Surely there's a better way to do this, yeah?
2025-01-12 03:18:18 -06:00
7f9b671d90 Some cleanup 2025-01-12 03:16:01 -06:00
a0a1d5d677 Fuck accessibility amirite 2025-01-12 03:14:24 -06:00
2002026070 Remove weird padding from session 2025-01-12 03:12:49 -06:00

View File

@@ -96,14 +96,16 @@
color: "#ebdbb2" color: "#ebdbb2"
width: parent.width width: parent.width
text: textConstants.userName text: textConstants.userName
font.pixelSize: 12 font.family: "IBM Plex Sans"
font.pixelSize: 13
} }
TextBox { TextBox {
id: name id: name
width: parent.width; height: 30 width: parent.width; height: 30
text: userModel.lastUser text: userModel.lastUser
font.pixelSize: 14 font.family: "IBM Plex Sans"
font.pixelSize: 13
KeyNavigation.backtab: rebootButton; KeyNavigation.tab: password KeyNavigation.backtab: rebootButton; KeyNavigation.tab: password
@@ -119,19 +121,21 @@
// This one, the password field // This one, the password field
Column { Column {
width: parent.width width: parent.width
spacing : 4 spacing: 4
Text { Text {
id: lblPassword id: lblPassword
color: "#ebdbb2" color: "#ebdbb2"
width: parent.width width: parent.width
text: textConstants.password text: textConstants.password
font.pixelSize: 12 font.family: "IBM Plex Sans"
font.pixelSize: 13
} }
PasswordBox { PasswordBox {
id: password id: password
width: parent.width; height: 30 width: parent.width; height: 30
font.pixelSize: 14 font.family: "IBM Plex Sans"
font.pixelSize: 13
KeyNavigation.backtab: name; KeyNavigation.tab: session KeyNavigation.backtab: name; KeyNavigation.tab: session
@@ -144,69 +148,36 @@
} }
} }
Row { // This one, the session selector
Column {
width: parent.width
spacing: 4 spacing: 4
width: parent.width / 2 Text {
z: 100 id: lblSession
color: "#ebdbb2"
Column { width: parent.width
z: 100 text: textConstants.session
width: parent.width * 1.3 wrapMode: TextEdit.WordWrap
spacing : 4 font.family: "IBM Plex Sans"
anchors.bottom: parent.bottom font.pixelSize: 13
Text {
id: lblSession
color: "#ebdbb2"
width: parent.width
text: textConstants.session
wrapMode: TextEdit.WordWrap
font.pixelSize: 12
}
ComboBox {
id: session
width: parent.width; height: 30
font.pixelSize: 14
arrowIcon: Qt.resolvedUrl("angle-down.png")
model: sessionModel
index: sessionModel.lastIndex
KeyNavigation.backtab: password; KeyNavigation.tab: layoutBox
}
} }
Column { ComboBox {
z: 101 id: session
width: parent.width * 0.7 width: parent.width; height: 30
spacing : 4 font.family: "IBM Plex Sans"
anchors.bottom: parent.bottom font.pixelSize: 13
visible: keyboard.enabled && keyboard.layouts.length > 0 arrowIcon: Qt.resolvedUrl("angle-down.png")
Text { model: sessionModel
id: lblLayout index: sessionModel.lastIndex
color: "#ebdbb2"
width: parent.width
text: textConstants.layout
wrapMode: TextEdit.WordWrap
font.pixelSize: 12
}
LayoutBox { KeyNavigation.backtab: password; KeyNavigation.tab: layoutBox
id: layoutBox
width: parent.width; height: 30
font.pixelSize: 14
arrowIcon: Qt.resolvedUrl("angle-down.png")
KeyNavigation.backtab: session; KeyNavigation.tab: loginButton
}
} }
} }
// This here's an error message/whatever prompt
Column { Column {
width: parent.width width: parent.width
Text { Text {
@@ -214,10 +185,12 @@
color: "#ebdbb2" color: "#ebdbb2"
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
text: textConstants.prompt text: textConstants.prompt
font.pixelSize: 10 font.family: "IBM Plex Sans"
font.pixelSize: 13
} }
} }
// And this row here has our buttons
Row { Row {
spacing: 4 spacing: 4
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
@@ -233,6 +206,9 @@
onClicked: sddm.login(name.text, password.text, sessionIndex) onClicked: sddm.login(name.text, password.text, sessionIndex)
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: shutdownButton KeyNavigation.backtab: layoutBox; KeyNavigation.tab: shutdownButton
font.family: "IBM Plex Sans"
font.pixelSize: 13
textColor: "#282828"
} }
Button { Button {
@@ -244,6 +220,9 @@
onClicked: sddm.powerOff() onClicked: sddm.powerOff()
KeyNavigation.backtab: loginButton; KeyNavigation.tab: rebootButton KeyNavigation.backtab: loginButton; KeyNavigation.tab: rebootButton
font.family: "IBM Plex Sans"
font.pixelSize: 13
textColor: "#282828"
} }
Button { Button {
@@ -255,6 +234,9 @@
onClicked: sddm.reboot() onClicked: sddm.reboot()
KeyNavigation.backtab: shutdownButton; KeyNavigation.tab: name KeyNavigation.backtab: shutdownButton; KeyNavigation.tab: name
font.family: "IBM Plex Sans"
font.pixelSize: 13
textColor: "#282828"
} }
} }
} }