Better aliasing
This commit is contained in:
parent
1c3127528f
commit
8f951946ea
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue