rebase to feat/video-wallpapers

This commit is contained in:
2026-10-29 17:46:27 +01:00
parent ed7e977eb5
commit 858e4e5b12
13 changed files with 116 additions and 123 deletions
+3 -1
View File
@@ -46,7 +46,9 @@ WidgetBase {
}
required property SnapLayout loader
required property Wrapper popouts
readonly property real size: horizontal ? timeText.contentWidth + Tokens.padding.medium * 2 : verticalColumn.implicitHeight + Tokens.padding.medium * 2
readonly property int roundedWidth: Math.round(timeText.implicitWidth)
readonly property int evenWidth: roundedWidth % 2 === 0 ? roundedWidth : roundedWidth + 1
readonly property real size: horizontal ? evenWidth + Tokens.padding.medium * 2 : verticalColumn.implicitHeight + Tokens.padding.medium * 2
required property ScreenState screenState
implicitHeight: horizontal ? baseSize : size