Commit eeae4157 authored by Nate Graham's avatar Nate Graham
Browse files

MediaTrackMetadataView: Round folder icon size to nearest real size

This avoids blurriness, since the available space doesn't automatically
conform to standard icon sizes

BUG: 448272
FIXED-IN: 22.04
parent df569bc0
Pipeline #121993 passed with stage
in 3 minutes and 29 seconds
......@@ -100,8 +100,10 @@ Window {
spacing: Kirigami.Units.largeSpacing
Kirigami.Icon {
Layout.preferredWidth: fileNameLabel.height
Layout.preferredHeight: fileNameLabel.height
readonly property int size: Kirigami.Units.iconSizes.roundedIconSize(fileNameLabel.height)
implicitWidth: size
implicitHeight: size
source: elisaTheme.folderIcon
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment