mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Update: Added partial profile picture support.
This commit is contained in:
@@ -16,13 +16,21 @@ ColumnLayout {
|
||||
|
||||
Clock {
|
||||
id: clock
|
||||
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
|
||||
// important
|
||||
Layout.preferredHeight: root.height / 3
|
||||
Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
|
||||
}
|
||||
|
||||
ProfilePicture {
|
||||
id: profilePicture
|
||||
visible: false
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.preferredWidth: root.height / 7
|
||||
Layout.preferredHeight: root.height / 7
|
||||
Layout.leftMargin: p != "0" ? a == "left" ? -p : a == "right" ? p : 0 : 0
|
||||
}
|
||||
|
||||
Input {
|
||||
id: input
|
||||
|
||||
|
||||
Reference in New Issue
Block a user