Better aliasing

This commit is contained in:
LemmyCook 2025-08-22 10:05:31 -04:00
parent 1c3127528f
commit 8f951946ea
2 changed files with 4 additions and 1 deletions

View file

@ -217,7 +217,7 @@ ColumnLayout {
anchors.margins: Style.marginXS * scaling anchors.margins: Style.marginXS * scaling
fallbackIcon: "person" fallbackIcon: "person"
borderColor: Color.mPrimary borderColor: Color.mPrimary
borderWidth: Math.max(1, Style.borderM * scaling) borderWidth: Math.max(1, Style.borderL * scaling)
imageRadius: width * 0.5 imageRadius: width * 0.5
} }
} }

View file

@ -33,6 +33,7 @@ Rectangle {
mipmap: true mipmap: true
smooth: true smooth: true
asynchronous: true asynchronous: true
antialiasing: true
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
} }
@ -53,6 +54,7 @@ Rectangle {
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
radius: scaledRadius radius: scaledRadius
antialiasing: true
} }
} }
@ -73,6 +75,7 @@ Rectangle {
color: Color.transparent color: Color.transparent
border.color: parent.borderColor border.color: parent.borderColor
border.width: parent.borderWidth border.width: parent.borderWidth
antialiasing: true
z: 10 z: 10
} }
} }