Skip to content
Snippets Groups Projects
Commit 67b90d21 authored by Fatih Uzunoğlu's avatar Fatih Uzunoğlu Committed by Steve Lhomme
Browse files

qml: use outlining of `RoundImage` and remove the border rectangle in `MusicArtistDelegate`

It should be acceptable to not have background rectangle
with non-RHI graphics backend (no shader support).
parent dd3d7479
No related branches found
No related tags found
1 merge request!6878qt: support outlining (border) in `RoundImage` and rename it to `ImageExt`
......@@ -176,24 +176,10 @@ T.ItemDelegate {
readonly property real eDPR: MainCtx.effectiveDevicePixelRatio(Window.window)
Rectangle {
anchors.centerIn: parent
anchors.alignWhenCentered: false
borderColor: (isCurrent || _isHover) ? theme.accent
: theme.border
implicitWidth: roundImage.paintedWidth + border.width
implicitHeight: roundImage.paintedHeight + border.width
z: -1
radius: roundImage.effectiveRadius
color: "transparent"
border.width: VLCStyle.dp(1, VLCStyle.scale)
border.color: (isCurrent || _isHover) ? theme.accent
: theme.border
}
borderWidth: VLCStyle.dp(1, VLCStyle.scale)
}
Widgets.TextAutoScroller {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment