From 0fd8284a5c9558fd70d3808f8489cb472d6545a3 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Thu, 2 Nov 2023 16:53:03 +0100 Subject: [PATCH] Set source size on image CURA-11263 --- resources/qml/Dialogs/AboutDialog.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/Dialogs/AboutDialog.qml b/resources/qml/Dialogs/AboutDialog.qml index d687f4a25d..abf04613a4 100644 --- a/resources/qml/Dialogs/AboutDialog.qml +++ b/resources/qml/Dialogs/AboutDialog.qml @@ -38,6 +38,8 @@ UM.Dialog width: Math.floor(base.width * 0.85) height: Math.floor(width * UM.Theme.getSize("logo").height / UM.Theme.getSize("logo").width) source: UM.Theme.getImage("logo") + sourceSize.width: width + sourceSize.height: height fillMode: Image.PreserveAspectFit anchors.centerIn: parent