Update: Added partial profile picture support.

This commit is contained in:
Keyitdev
2026-07-08 23:13:43 +02:00
parent 292c87b770
commit 61e74ac096
3 changed files with 82 additions and 2 deletions
+9 -1
View File
@@ -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