aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-08-07 12:14:37 +0200
committerJaquee <jaquee.monero@gmail.com>2017-11-03 16:57:10 +0100
commit855f2068f25bbf84f7c0659456fa072c6297597b (patch)
tree224aed41ce071a78360b7d54e2a3b66b27ec1cd2
parent603c1e7ee9a45d7d202e90bc473df27c721ad147 (diff)
downloadmonzero-gui-855f2068f25bbf84f7c0659456fa072c6297597b.tar.gz
monzero-gui-855f2068f25bbf84f7c0659456fa072c6297597b.tar.xz
monzero-gui-855f2068f25bbf84f7c0659456fa072c6297597b.zip
Leftpanel scaling/mobile layout
-rw-r--r--LeftPanel.qml15
1 files changed, 10 insertions, 5 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index 8433d7f3..08f2d3a5 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -70,6 +70,8 @@ Rectangle {
width: (isMobile)? appWindow.width : 260
color: "#FFFFFF"
+ anchors.bottom: parent.bottom
+ anchors.top: parent.top
// Item with monero logo
Item {
@@ -139,8 +141,8 @@ Rectangle {
visible: !isMobile
Item {
anchors.verticalCenter: parent.verticalCenter
- height: 26
- width: 50
+ height: 26 * scaleRatio
+ width: 50 * scaleRatio
Image {
anchors.centerIn: parent
@@ -229,7 +231,8 @@ Rectangle {
Flickable {
- contentHeight: 500
+ id:flicker
+ contentHeight: 500 * scaleRatio
anchors.fill: parent
clip: true
@@ -240,7 +243,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
-
+ clip: true
property var previousButton: transferButton
// ------------- Dashboard tab ---------------
@@ -518,6 +521,7 @@ Rectangle {
anchors.right: parent.right
anchors.bottom: (progressBar.visible)? progressBar.top : parent.bottom;
connected: Wallet.ConnectionStatus_Disconnected
+ height: 58 * scaleRatio
}
ProgressBar {
@@ -525,8 +529,9 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
+ height: 35 * scaleRatio
}
- }
+ } // menuRect