sddm-theme: remove LayoutBox
SDDM doesn't support selecting keyboard layouts on Wayland, and it's unlikely to be fixed anytime soon without a generic Wayland or DBus protocol. As the functionality is missing, it's fine to remove the layout box with its unsightly placeholder entry.
This commit is contained in:
parent
e980f01b61
commit
e9d3cf37bb
1 changed files with 4 additions and 30 deletions
|
|
@ -165,12 +165,12 @@ Rectangle {
|
|||
|
||||
Row {
|
||||
spacing: 4
|
||||
width: parent.width / 2
|
||||
width: parent.width
|
||||
z: 100
|
||||
|
||||
Column {
|
||||
z: 100
|
||||
width: parent.width * 1.3
|
||||
width: parent.width
|
||||
spacing : 4
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
|
|
@ -193,33 +193,7 @@ Rectangle {
|
|||
model: sessionModel
|
||||
index: sessionModel.lastIndex
|
||||
|
||||
KeyNavigation.backtab: password; KeyNavigation.tab: layoutBox
|
||||
}
|
||||
}
|
||||
|
||||
Column {
|
||||
z: 101
|
||||
width: parent.width * 0.7
|
||||
spacing : 4
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
Text {
|
||||
id: lblLayout
|
||||
width: parent.width
|
||||
text: textConstants.layout
|
||||
wrapMode: TextEdit.WordWrap
|
||||
font.bold: true
|
||||
font.pixelSize: 12
|
||||
}
|
||||
|
||||
LayoutBox {
|
||||
id: layoutBox
|
||||
width: parent.width; height: 30
|
||||
font.pixelSize: 14
|
||||
|
||||
arrowIcon: Qt.resolvedUrl("angle-down.png")
|
||||
|
||||
KeyNavigation.backtab: session; KeyNavigation.tab: loginButton
|
||||
KeyNavigation.backtab: password; KeyNavigation.tab: loginButton
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -247,7 +221,7 @@ Rectangle {
|
|||
|
||||
onClicked: sddm.login(name.text, password.text, sessionIndex)
|
||||
|
||||
KeyNavigation.backtab: layoutBox; KeyNavigation.tab: shutdownButton
|
||||
KeyNavigation.backtab: session; KeyNavigation.tab: shutdownButton
|
||||
}
|
||||
|
||||
Button {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue