aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MiddlePanel.qml2
-rw-r--r--pages/Settings.qml1
2 files changed, 2 insertions, 1 deletions
diff --git a/MiddlePanel.qml b/MiddlePanel.qml
index 3cc2163f..b4c56af8 100644
--- a/MiddlePanel.qml
+++ b/MiddlePanel.qml
@@ -141,7 +141,7 @@ Rectangle {
}, State {
name: "Settings"
PropertyChanges { target: root; currentView: settingsView }
- PropertyChanges { target: mainFlickable; contentHeight: 2000 * scaleRatio }
+ PropertyChanges { target: mainFlickable; contentHeight: settingsView.settingsHeight + 100 }
}, State {
name: "Mining"
PropertyChanges { target: root; currentView: miningView }
diff --git a/pages/Settings.qml b/pages/Settings.qml
index 7c0a9bb5..2acc8110 100644
--- a/pages/Settings.qml
+++ b/pages/Settings.qml
@@ -39,6 +39,7 @@ import moneroComponents.Clipboard 1.0
Rectangle {
property bool viewOnly: false
+ property alias settingsHeight: mainLayout.height
id: page
color: "transparent"