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
11
src/main.qml
11
src/main.qml
|
@ -62,19 +62,18 @@ ApplicationWindow {
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: logoContainer
|
id: logoContainer
|
||||||
implicitHeight: window.height/4
|
width: parent.width
|
||||||
|
height: window.height / 4 // Set explicit height based on the window
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: image
|
id: image
|
||||||
source: "icons/logo_sxs_imager.png"
|
source: "icons/logo_sxs_imager.png"
|
||||||
|
anchors.fill: parent // This will make the image fill the parent completely
|
||||||
// Specify the maximum size of the image
|
fillMode: Image.PreserveAspectFit // Maintain the aspect ratio of the image
|
||||||
width: parent.width
|
|
||||||
height: parent.height
|
|
||||||
anchors.fill: parent
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
color: backgroundColor
|
color: backgroundColor
|
||||||
implicitWidth: window.width
|
implicitWidth: window.width
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue