mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
dsdf
This commit is contained in:
parent
096e640852
commit
d30adb496f
1 changed files with 5 additions and 6 deletions
13
src/main.qml
13
src/main.qml
|
@ -62,18 +62,17 @@ ApplicationWindow {
|
|||
|
||||
Rectangle {
|
||||
id: logoContainer
|
||||
implicitHeight: window.height/4
|
||||
width: parent.width
|
||||
height: window.height / 4 // Set explicit height based on the window
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
// Specify the maximum size of the image
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
color: backgroundColor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue