1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-26 01:23:44 +01:00

dynamic panel height for the settings page

This commit is contained in:
Sander Ferdinand 2018-04-20 22:42:32 +02:00
parent 72541b6d51
commit 25e5b3528e
2 changed files with 2 additions and 1 deletions

View File

@ -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 }

View File

@ -39,6 +39,7 @@ import moneroComponents.Clipboard 1.0
Rectangle {
property bool viewOnly: false
property alias settingsHeight: mainLayout.height
id: page
color: "transparent"