forked from qt-creator/qt-creator
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:
@@ -143,7 +143,7 @@ Item {
|
|||||||
Image {
|
Image {
|
||||||
id: image
|
id: image
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
fillMode: Image.PreserveAspectFit
|
||||||
source: modelData.textureIcon
|
source: modelData.textureIcon
|
||||||
visible: root.delegateVisible && root.downloadState != "downloading"
|
visible: root.delegateVisible && root.downloadState != "downloading"
|
||||||
cache: false
|
cache: false
|
||||||
|
Reference in New Issue
Block a user