mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 12:30:10 +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 {
|
}, State {
|
||||||
name: "Settings"
|
name: "Settings"
|
||||||
PropertyChanges { target: root; currentView: settingsView }
|
PropertyChanges { target: root; currentView: settingsView }
|
||||||
PropertyChanges { target: mainFlickable; contentHeight: 2000 * scaleRatio }
|
PropertyChanges { target: mainFlickable; contentHeight: settingsView.settingsHeight + 100 }
|
||||||
}, State {
|
}, State {
|
||||||
name: "Mining"
|
name: "Mining"
|
||||||
PropertyChanges { target: root; currentView: miningView }
|
PropertyChanges { target: root; currentView: miningView }
|
||||||
|
|
|
@ -39,6 +39,7 @@ import moneroComponents.Clipboard 1.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
property bool viewOnly: false
|
property bool viewOnly: false
|
||||||
|
property alias settingsHeight: mainLayout.height
|
||||||
id: page
|
id: page
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
Loading…
Reference in a new issue