From b39659519d33c6b78741891bb37ecc3e47e0834f Mon Sep 17 00:00:00 2001 From: cmclark00 Date: Sat, 12 Oct 2024 00:00:17 -0400 Subject: [PATCH] afefewf --- src/main.qml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/main.qml b/src/main.qml index 215b53d..39b344a 100644 --- a/src/main.qml +++ b/src/main.qml @@ -68,19 +68,20 @@ ApplicationWindow { Image { id: image + color: accentColor source: "icons/logo_sxs_imager.png" - anchors.fill: parent + + // Specify the maximum size of the image + width: window.width + height: window.height / 4 + smooth: true antialiasing: true - fillMode: Image.PreserveAspectFit - // Set a placeholder color to help in debugging - Rectangle { - anchors.fill: parent - color: "#ff0000" // Red to make it stand out - visible: source === "" // Show if the image source is missing or empty + + anchors { + fill: parent } } - } Rectangle {