Replace tons of hardcoded stuff

This commit is contained in:
Ly-sec 2025-08-16 01:17:44 +02:00
parent 2a5a3a1b78
commit c673b897cb
27 changed files with 155 additions and 161 deletions

View file

@ -149,8 +149,7 @@ Item {
anchors.margins: Style.marginTiny * scaling
imagePath: wallpaperPath
fallbackIcon: "image"
borderColor: "transparent"
borderWidth: 0
imageRadius: Style.radiusMedium * scaling
}
@ -185,7 +184,7 @@ Item {
Behavior on opacity {
NumberAnimation {
duration: 150
duration: Style.animationFast
}
}
}
@ -235,7 +234,7 @@ Item {
color: Colors.mOnSurface
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
Layout.preferredWidth: 300 * scaling
Layout.preferredWidth: Style.sliderWidth * 1.5 * scaling
}
}
}