diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-05-31 01:49:43 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-06-01 12:34:03 +0200 |
commit | 00be891d3b0cb401e642a5331aedcc399641b8ef (patch) | |
tree | 19303b892d9bcae3f30cf6dae68af7f7324c1481 /gui/qml/BackgroundImage.qml | |
parent | 1bd2637e3133d895d1e73931f8b3466a5761d9ef (diff) |
[refactor] unclutter main qml
Diffstat (limited to 'gui/qml/BackgroundImage.qml')
-rw-r--r-- | gui/qml/BackgroundImage.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gui/qml/BackgroundImage.qml b/gui/qml/BackgroundImage.qml new file mode 100644 index 0000000..86b8cba --- /dev/null +++ b/gui/qml/BackgroundImage.qml @@ -0,0 +1,15 @@ +import QtQuick 2.9 +import QtQuick.Controls 2.4 + +Rectangle { + + anchors.fill: parent; + anchors.topMargin: 40; + + Image { + source: "qrc:/assets/img/bird.jpg"; + fillMode: Image.PreserveAspectCrop; + anchors.fill: parent; + opacity: 0.8; + } +} |