mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
sdfsdf
This commit is contained in:
parent
d30adb496f
commit
0f8d1f1e44
1 changed files with 10 additions and 5 deletions
13
src/main.qml
13
src/main.qml
|
@ -62,17 +62,22 @@ ApplicationWindow {
|
|||
|
||||
Rectangle {
|
||||
id: logoContainer
|
||||
width: parent.width
|
||||
height: window.height / 4 // Set explicit height based on the window
|
||||
implicitHeight: window.height/4
|
||||
|
||||
Image {
|
||||
id: image
|
||||
source: "icons/logo_sxs_imager.png"
|
||||
anchors.fill: parent // This will make the image fill the parent completely
|
||||
fillMode: Image.PreserveAspectFit // Maintain the aspect ratio of the image
|
||||
anchors.fill: parent
|
||||
fillMode: Image.PreserveAspectFit
|
||||
|
||||
onStatusChanged: {
|
||||
if (status == Image.Error) {
|
||||
console.log("Failed to load image:", source)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
color: backgroundColor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue