From 8fbd8b99d7d04299d981b7f29256aeddfb7dec7e Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Wed, 22 Nov 2017 00:14:38 +0100 Subject: leftPanel gradient background --- LeftPanel.qml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) (limited to 'LeftPanel.qml') diff --git a/LeftPanel.qml b/LeftPanel.qml index de8777d0..fd9b880c 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -74,13 +74,23 @@ Rectangle { } width: (isMobile)? appWindow.width : 300 - color: "black" + color: "transparent" anchors.bottom: parent.bottom anchors.top: parent.top + Image { + anchors.left: parent.left + anchors.right: parent.right + anchors.top: parent.top + height: panel.height + source: "images/leftPanelBg.jpg" + z: 1 + } + // card with monero logo Column { visible: true + z: 2 id: column1 height: 200 anchors.left: parent.left @@ -89,20 +99,6 @@ Rectangle { // @TODO: customDecorations? anchors.topMargin: (persistentSettings.customDecorations)? 50 : 0 - Row { - Item { - x: 0 - y: 0 - width: 300 - height: 232 - - Image { - width: 300; height: 232 - source: "images/balanceGradient.jpg" - } - } - } - Row { visible: true Item { @@ -115,7 +111,7 @@ Rectangle { width: 50 * scaleRatio Image { - width: 259; height:170 + width: 259; height: 170 fillMode: Image.PreserveAspectFit source: "images/card-background.png" } @@ -242,12 +238,13 @@ Rectangle { Rectangle { id: menuRect + z: 2 anchors.left: parent.left anchors.right: parent.right anchors.bottom: parent.bottom anchors.top: (isMobile)? parent.top : column1.bottom anchors.topMargin: (isMobile)? 0 : 32 - color: "black" + color: "transparent" Flickable { -- cgit v1.2.3