mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-17 23:45:21 +01:00
df
This commit is contained in:
parent
0f8d1f1e44
commit
87310d5392
1 changed files with 15 additions and 7 deletions
22
src/main.qml
22
src/main.qml
|
@ -60,23 +60,31 @@ ApplicationWindow {
|
|||
id: bg
|
||||
spacing: 0
|
||||
|
||||
|
||||
Rectangle {
|
||||
id: logoContainer
|
||||
color: accentColor
|
||||
implicitHeight: window.height/4
|
||||
|
||||
Image {
|
||||
id: image
|
||||
source: "icons/logo_sxs_imager.png"
|
||||
anchors.fill: parent
|
||||
width: window.width * 1
|
||||
height: window.height / 3
|
||||
fillMode: Image.PreserveAspectFit
|
||||
|
||||
onStatusChanged: {
|
||||
if (status == Image.Error) {
|
||||
console.log("Failed to load image:", source)
|
||||
}
|
||||
horizontalAlignment: Image.AlignLeft
|
||||
smooth: true
|
||||
antialiasing: true
|
||||
|
||||
anchors {
|
||||
left: logoContainer.left
|
||||
leftMargin: 40
|
||||
top: logoContainer.top
|
||||
bottom: logoContainer.bottom
|
||||
topMargin: window.height / 25
|
||||
bottomMargin: window.height / 25
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue