summaryrefslogtreecommitdiff
path: root/gui/qml/BackgroundImage.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-05-31 01:49:43 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-06-01 12:34:03 +0200
commit00be891d3b0cb401e642a5331aedcc399641b8ef (patch)
tree19303b892d9bcae3f30cf6dae68af7f7324c1481 /gui/qml/BackgroundImage.qml
parent1bd2637e3133d895d1e73931f8b3466a5761d9ef (diff)
[refactor] unclutter main qml
Diffstat (limited to 'gui/qml/BackgroundImage.qml')
-rw-r--r--gui/qml/BackgroundImage.qml15
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;
+ }
+}