aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MiddlePanel.qml2
-rw-r--r--pages/Keys.qml1
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 d1eb67a4..4a7cca44 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"