mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
dynamic panel height for the settings page
This commit is contained in:
parent
72541b6d51
commit
25e5b3528e
2 changed files with 2 additions and 1 deletions
|
@ -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 }
|
||||
|
|
|
@ -39,6 +39,7 @@ import moneroComponents.Clipboard 1.0
|
|||
|
||||
Rectangle {
|
||||
property bool viewOnly: false
|
||||
property alias settingsHeight: mainLayout.height
|
||||
id: page
|
||||
|
||||
color: "transparent"
|
||||
|
|
Loading…
Reference in a new issue