This commit is contained in:
cmclark00 2024-10-12 00:00:17 -04:00
parent 51940a6104
commit b39659519d

View file

@ -68,19 +68,20 @@ ApplicationWindow {
Image { Image {
id: image id: image
color: accentColor
source: "icons/logo_sxs_imager.png" 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 smooth: true
antialiasing: true antialiasing: true
fillMode: Image.PreserveAspectFit
// Set a placeholder color to help in debugging anchors {
Rectangle { fill: parent
anchors.fill: parent
color: "#ff0000" // Red to make it stand out
visible: source === "" // Show if the image source is missing or empty
} }
} }
} }
Rectangle { Rectangle {