mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
afefewf
This commit is contained in:
parent
51940a6104
commit
b39659519d
1 changed files with 9 additions and 8 deletions
19
src/main.qml
19
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue