diff options
Diffstat (limited to 'gui/qml/BackgroundImage.qml')
-rw-r--r-- | gui/qml/BackgroundImage.qml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gui/qml/BackgroundImage.qml b/gui/qml/BackgroundImage.qml index 3071bf4..ba2a8af 100644 --- a/gui/qml/BackgroundImage.qml +++ b/gui/qml/BackgroundImage.qml @@ -3,22 +3,22 @@ import QtQuick.Controls 2.4 Rectangle { - anchors.fill: parent; - anchors.topMargin: 40; + anchors.fill: parent + anchors.topMargin: 40 property var backgroundSrc property var backgroundVisible Image { - source: parent.backgroundSrc; - visible: parent.backgroundVisible; - fillMode: Image.PreserveAspectCrop; - anchors.fill: parent; - opacity: 0.8; + source: parent.backgroundSrc + visible: parent.backgroundVisible + fillMode: Image.PreserveAspectCrop + anchors.fill: parent + opacity: 0.8 } Component.onCompleted: { /* default for riseup, needs customizing */ - backgroundSrc = "qrc:/assets/img/bird.jpg"; + backgroundSrc = "qrc:/assets/img/bird.jpg" } } |