1
mirror of https://github.com/monero-project/monero-gui synced 2024-11-13 16:08:57 +01:00

Merge pull request #2650

10dea60 Settings: fix page height (tobtoht)
This commit is contained in:
luigi1111 2019-12-21 18:09:53 -05:00
commit 8d0647d677
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
6 changed files with 10 additions and 5 deletions

View File

@ -83,18 +83,23 @@ ColumnLayout {
State { State {
name: "Wallet" name: "Wallet"
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsWalletView } PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsWalletView }
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsWalletView.settingsHeight + 140 }
}, State { }, State {
name: "UI" name: "UI"
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsLayoutView } PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsLayoutView }
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsLayoutView.layoutHeight + 140 }
}, State { }, State {
name: "Node" name: "Node"
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsNodeView } PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsNodeView }
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsNodeView.nodeHeight + 140 }
}, State { }, State {
name: "Log" name: "Log"
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsLogView } PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsLogView }
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsLogView.logHeight + 140 }
}, State { }, State {
name: "Info" name: "Info"
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsInfoView } PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsInfoView }
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsInfoView.infoHeight + 140 }
} }
] ]

View File

@ -39,8 +39,8 @@ import "../../components" as MoneroComponents
Rectangle { Rectangle {
color: "transparent" color: "transparent"
height: 1400
Layout.fillWidth: true Layout.fillWidth: true
property alias infoHeight: infoLayout.height
property string walletModeString: { property string walletModeString: {
if(appWindow.walletMode === 0){ if(appWindow.walletMode === 0){
return qsTr("Simple mode") + translationManager.emptyString; return qsTr("Simple mode") + translationManager.emptyString;

View File

@ -37,8 +37,8 @@ import "../../components" as MoneroComponents
Rectangle { Rectangle {
color: "transparent" color: "transparent"
height: 1400
Layout.fillWidth: true Layout.fillWidth: true
property alias layoutHeight: settingsUI.height
ColumnLayout { ColumnLayout {
id: settingsUI id: settingsUI

View File

@ -37,8 +37,8 @@ import "../../components" as MoneroComponents
Rectangle { Rectangle {
property alias consoleArea: consoleArea property alias consoleArea: consoleArea
color: "transparent" color: "transparent"
height: 1400
Layout.fillWidth: true Layout.fillWidth: true
property alias logHeight: settingsLog.height
ColumnLayout { ColumnLayout {
id: settingsLog id: settingsLog

View File

@ -36,8 +36,8 @@ import "../../components/effects" as MoneroEffects
Rectangle{ Rectangle{
color: "transparent" color: "transparent"
height: 1400
Layout.fillWidth: true Layout.fillWidth: true
property alias nodeHeight: root.height
/* main layout */ /* main layout */
ColumnLayout { ColumnLayout {

View File

@ -36,8 +36,8 @@ import "../../components" as MoneroComponents
Rectangle { Rectangle {
color: "transparent" color: "transparent"
height: 1400
Layout.fillWidth: true Layout.fillWidth: true
property alias settingsHeight: settingsWallet.height
ColumnLayout { ColumnLayout {
id: settingsWallet id: settingsWallet