diff options
| author | mmbyday <bromark@protonmail.com> | 2018-11-29 00:42:13 -0800 |
|---|---|---|
| committer | mmbyday <bromark@protonmail.com> | 2018-11-30 01:42:44 +0200 |
| commit | b9c7d8d7b1aff13a2e2ed71751b2a89da1bcfcae (patch) | |
| tree | baadd3b3c1dc70bc440f1f1343ccc58db5ac72ea | |
| parent | 45781ab4a173fe0a747ed72140e10d18765b007e (diff) | |
| download | monzero-gui-b9c7d8d7b1aff13a2e2ed71751b2a89da1bcfcae.tar.gz monzero-gui-b9c7d8d7b1aff13a2e2ed71751b2a89da1bcfcae.tar.xz monzero-gui-b9c7d8d7b1aff13a2e2ed71751b2a89da1bcfcae.zip | |
keys: dynamic panel height and qrcode is no longer clipped
| -rw-r--r-- | MiddlePanel.qml | 2 | ||||
| -rw-r--r-- | pages/Keys.qml | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml index 1b1a4a83..7a2dff31 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -150,7 +150,7 @@ Rectangle { }, State { name: "Keys" PropertyChanges { target: root; currentView: keysView } - PropertyChanges { target: mainFlickable; contentHeight: minHeight + 200 * scaleRatio } + PropertyChanges { target: mainFlickable; contentHeight: keysView.keysHeight } } ] diff --git a/pages/Keys.qml b/pages/Keys.qml index b792a8e2..93b33a5a 100644 --- a/pages/Keys.qml +++ b/pages/Keys.qml @@ -40,6 +40,7 @@ import "." 1.0 Rectangle { property bool viewOnly: false id: page + property int keysHeight: mainLayout.height + 100 * scaleRatio // Ensure sufficient height for QR code, even in minimum width window case. color: "transparent" |
