ClipboardPreview: fix ClipboardPreview

This commit is contained in:
Ly-sec
2025-11-26 19:22:18 +01:00
parent cdb93a3d96
commit 05c90909d2
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ Item {
anchors.fill: parent
imagePath: imageDataUrl
visible: isImageContent && !loadingFullContent && imageDataUrl !== ""
imageRadius: Style.radiusS
radius: Style.radiusS
imageFillMode: Image.PreserveAspectFit
}
+2 -1
View File
@@ -13,6 +13,7 @@ Item {
property real fallbackIconSize: Style.fontSizeXXL
property real borderWidth: 0
property color borderColor: Color.transparent
property int imageFillMode: Image.PreserveAspectCrop
readonly property bool showFallback: (fallbackIcon !== undefined && fallbackIcon !== "") && (imagePath === undefined || imagePath === "")
@@ -33,7 +34,7 @@ Item {
smooth: true
asynchronous: true
antialiasing: true
fillMode: Image.PreserveAspectCrop
fillMode: root.imageFillMode
onStatusChanged: root.statusChanged(status)
}