Update: Refactored how scaling works across different resolutions.

This commit is contained in:
Keyitdev
2026-07-11 01:11:47 +02:00
parent 60a73a22ef
commit 57f0ae7221
8 changed files with 77 additions and 55 deletions
+5 -5
View File
@@ -10,7 +10,7 @@ Item {
Rectangle {
anchors.fill: avatarImage
radius: width / 2
color: config.LoginFieldBackgroundColor || "#000000"
color: config.ProfilePictureBorderColor
opacity: 0.2
z: -1
}
@@ -33,7 +33,7 @@ Item {
id: circleMask
anchors.fill: avatarImage
radius: width / 2
radius: config.ProfilePictureRoundedCorners || 0
visible: false
layer.enabled: true
}
@@ -49,9 +49,9 @@ Item {
id: ringBorder
anchors.fill: parent
radius: width / 2
radius: config.ProfilePictureRoundedCorners || 0
color: "transparent"
border.width: 3
border.color: config.DateTextColor || "#ffffff"
border.width: config.ProfilePictureBorderWidth || 2
border.color: config.ProfilePictureBorderColor
}
}