QmlDesigner: Preserve aspect ratio for ContentLibrary textures

Fixes: QDS-15364
Change-Id: I66570f12ccce22afc9e95da7d996784d4653a5e7
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
Shrief Gabr
2025-05-14 12:26:36 +03:00
parent 5af8934ab0
commit eeebd4adae

View File

@@ -143,7 +143,7 @@ Item {
Image {
id: image
anchors.fill: parent
fillMode: Image.PreserveAspectFit
source: modelData.textureIcon
visible: root.delegateVisible && root.downloadState != "downloading"
cache: false