aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2017-11-15 23:51:42 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:03:59 +0100
commitf14dc7066382a9bd6d3d8b9eb8e257da3b09445f (patch)
tree2764cd42151ae91f3dc8613ae2298a9e27b2a621 /LeftPanel.qml
parentb34432c6ac27a7a3547b8e157f91300e7f1cb95a (diff)
downloadmonzero-gui-f14dc7066382a9bd6d3d8b9eb8e257da3b09445f.tar.gz
monzero-gui-f14dc7066382a9bd6d3d8b9eb8e257da3b09445f.tar.xz
monzero-gui-f14dc7066382a9bd6d3d8b9eb8e257da3b09445f.zip
Implement subtle gradient behind balance card
Diffstat (limited to 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml31
1 files changed, 29 insertions, 2 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index a9fe715e..678cbef3 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -42,6 +42,7 @@ Rectangle {
property alias progressBar : progressBar
property alias daemonProgressBar : daemonProgressBar
property alias minutesToUnlockTxt: unlockedBalanceLabel.text
+ property int titleBarHeight: 50
signal dashboardClicked()
signal historyClicked()
@@ -85,13 +86,29 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
- anchors.topMargin: (persistentSettings.customDecorations)? 76 : 56
+ // @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 {
anchors.left: parent.left
anchors.top: parent.top
+ anchors.topMargin: 20
anchors.leftMargin: 20
anchors.verticalCenter: parent.verticalCenter
height: 490 * scaleRatio
@@ -102,6 +119,16 @@ Rectangle {
fillMode: Image.PreserveAspectFit
source: "images/card-background.png"
}
+ }
+
+ Item {
+ anchors.left: parent.left
+ anchors.top: parent.top
+ anchors.topMargin: 20
+ anchors.leftMargin: 20
+ anchors.verticalCenter: parent.verticalCenter
+ height: 490 * scaleRatio
+ width: 50 * scaleRatio
Text {
visible: !isMobile
@@ -214,7 +241,7 @@ Rectangle {
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.top: (isMobile)? parent.top : column1.bottom
- anchors.topMargin: (isMobile)? 0 : 4
+ anchors.topMargin: (isMobile)? 0 : 32
color: "#1C1C1C"