Update: moved SessionButton to LoginForm.qml, fixed some issues with popups, replaced anchors with layout (session button).

This commit is contained in:
Keyitdev
2024-12-21 01:44:28 +01:00
parent 95d664e483
commit 2e016cc360
4 changed files with 49 additions and 51 deletions
+13 -2
View File
@@ -33,10 +33,21 @@ ColumnLayout {
SystemButtons {
id: systemButtons
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
Layout.preferredHeight: root.height / 4
Layout.maximumHeight: root.height / 4
Layout.preferredHeight: root.height / 5
Layout.maximumHeight: root.height / 5
Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
exposedSession: input.exposeSession
}
SessionButton {
id: sessionSelect
// anchors.bottom: parent.bottom
// anchors.bottomMargin: parent.height/16
// Layout.bottomMargin: parent.height/16
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
Layout.preferredHeight: root.height / 14
Layout.maximumHeight: root.height / 14
Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
}
}