Commit 97895d04 authored by Nate Graham's avatar Nate Graham 🔩
Browse files

[Context view] Fix folder icon size on high DPI

Port to standard Kirigami icon sizes to automatically fix the size being
incorrect with a high DPI scale factor.
parent c96601f6
......@@ -214,9 +214,10 @@ FocusScope {
contentLayoutSpacing: Kirigami.Units.largeSpacing
contentItems: [
Image {
sourceSize.width: fileNameLabel.height
sourceSize.height: fileNameLabel.height
Layout.preferredHeight: Kirigami.Units.iconSizes.smallMedium
Layout.preferredWidth: Kirigami.Units.iconSizes.smallMedium
sourceSize.width: Kirigami.Units.iconSizes.smallMedium
sourceSize.height: Kirigami.Units.iconSizes.smallMedium
source: elisaTheme.folderIcon
LabelWithToolTip {
Markdown is supported
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