mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
bleck
This commit is contained in:
parent
8ba05f5736
commit
b278229302
1 changed files with 1 additions and 9 deletions
10
src/main.qml
10
src/main.qml
|
@ -63,20 +63,12 @@ ApplicationWindow {
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: logoContainer
|
id: logoContainer
|
||||||
color: accentColor
|
color: accentColor
|
||||||
|
implicitWidth: window.width
|
||||||
implicitHeight: window.height/4
|
implicitHeight: window.height/4
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: image
|
id: image
|
||||||
source: "icons/logo_sxs_imager.png"
|
source: "icons/logo_sxs_imager.png"
|
||||||
smooth: true
|
|
||||||
antialiasing: true
|
|
||||||
|
|
||||||
// Center the image within the parent (logoContainer)
|
|
||||||
anchors.centerIn: parent
|
|
||||||
|
|
||||||
// Optional: set a maximum size for the image if needed
|
|
||||||
width: Math.min(parent.width * 0.5, sourceSize.width)
|
|
||||||
height: Math.min(parent.height * 0.75, sourceSize.height)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue