mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-22 09:40:22 +02:00
leftPanel gradient background
This commit is contained in:
parent
9f0874ee06
commit
8fbd8b99d7
@ -74,13 +74,23 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
width: (isMobile)? appWindow.width : 300
|
width: (isMobile)? appWindow.width : 300
|
||||||
color: "black"
|
color: "transparent"
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.top: parent.top
|
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
|
// card with monero logo
|
||||||
Column {
|
Column {
|
||||||
visible: true
|
visible: true
|
||||||
|
z: 2
|
||||||
id: column1
|
id: column1
|
||||||
height: 200
|
height: 200
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -89,20 +99,6 @@ Rectangle {
|
|||||||
// @TODO: customDecorations?
|
// @TODO: customDecorations?
|
||||||
anchors.topMargin: (persistentSettings.customDecorations)? 50 : 0
|
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 {
|
Row {
|
||||||
visible: true
|
visible: true
|
||||||
Item {
|
Item {
|
||||||
@ -115,7 +111,7 @@ Rectangle {
|
|||||||
width: 50 * scaleRatio
|
width: 50 * scaleRatio
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
width: 259; height:170
|
width: 259; height: 170
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
source: "images/card-background.png"
|
source: "images/card-background.png"
|
||||||
}
|
}
|
||||||
@ -242,12 +238,13 @@ Rectangle {
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
id: menuRect
|
id: menuRect
|
||||||
|
z: 2
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.top: (isMobile)? parent.top : column1.bottom
|
anchors.top: (isMobile)? parent.top : column1.bottom
|
||||||
anchors.topMargin: (isMobile)? 0 : 32
|
anchors.topMargin: (isMobile)? 0 : 32
|
||||||
color: "black"
|
color: "transparent"
|
||||||
|
|
||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
|
@ -56,7 +56,7 @@ Rectangle {
|
|||||||
return offset
|
return offset
|
||||||
}
|
}
|
||||||
|
|
||||||
color: "black"
|
color: "transparent"
|
||||||
property bool present: !under || under.checked || checked || under.numSelectedChildren > 0
|
property bool present: !under || under.checked || checked || under.numSelectedChildren > 0
|
||||||
height: present ? ((appWindow.height >= 800) ? 44 * scaleRatio : 38 * scaleRatio ) : 0
|
height: present ? ((appWindow.height >= 800) ? 44 * scaleRatio : 38 * scaleRatio ) : 0
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB |
BIN
images/leftPanelBg.jpg
Normal file
BIN
images/leftPanelBg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
2
qml.qrc
2
qml.qrc
@ -174,7 +174,6 @@
|
|||||||
<file>images/moneroIcon-trans56x56.png</file>
|
<file>images/moneroIcon-trans56x56.png</file>
|
||||||
<file>images/question.png</file>
|
<file>images/question.png</file>
|
||||||
<file>images/expand.png</file>
|
<file>images/expand.png</file>
|
||||||
<file>images/balanceGradient.jpg</file>
|
|
||||||
<file>images/titlebarGradient.jpg</file>
|
<file>images/titlebarGradient.jpg</file>
|
||||||
<file>images/titlebarLogo.png</file>
|
<file>images/titlebarLogo.png</file>
|
||||||
<file>images/menuArrow.png</file>
|
<file>images/menuArrow.png</file>
|
||||||
@ -187,5 +186,6 @@
|
|||||||
<file>components/qmldir</file>
|
<file>components/qmldir</file>
|
||||||
<file>components/InlineButton.qml</file>
|
<file>components/InlineButton.qml</file>
|
||||||
<file>images/lightning.png</file>
|
<file>images/lightning.png</file>
|
||||||
|
<file>images/leftPanelBg.jpg</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
Loading…
Reference in New Issue
Block a user