mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Settings: fix page height
This commit is contained in:
parent
500c7ec82e
commit
10dea6073b
6 changed files with 10 additions and 5 deletions
|
@ -83,18 +83,23 @@ ColumnLayout {
|
|||
State {
|
||||
name: "Wallet"
|
||||
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsWalletView }
|
||||
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsWalletView.settingsHeight + 140 }
|
||||
}, State {
|
||||
name: "UI"
|
||||
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsLayoutView }
|
||||
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsLayoutView.layoutHeight + 140 }
|
||||
}, State {
|
||||
name: "Node"
|
||||
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsNodeView }
|
||||
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsNodeView.nodeHeight + 140 }
|
||||
}, State {
|
||||
name: "Log"
|
||||
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsLogView }
|
||||
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsLogView.logHeight + 140 }
|
||||
}, State {
|
||||
name: "Info"
|
||||
PropertyChanges { target: settingsStateView; currentView: settingsStateView.settingsInfoView }
|
||||
PropertyChanges { target: settingsPage; settingsHeight: settingsStateView.settingsInfoView.infoHeight + 140 }
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
@ -39,8 +39,8 @@ import "../../components" as MoneroComponents
|
|||
|
||||
Rectangle {
|
||||
color: "transparent"
|
||||
height: 1400
|
||||
Layout.fillWidth: true
|
||||
property alias infoHeight: infoLayout.height
|
||||
property string walletModeString: {
|
||||
if(appWindow.walletMode === 0){
|
||||
return qsTr("Simple mode") + translationManager.emptyString;
|
||||
|
|
|
@ -37,8 +37,8 @@ import "../../components" as MoneroComponents
|
|||
|
||||
Rectangle {
|
||||
color: "transparent"
|
||||
height: 1400
|
||||
Layout.fillWidth: true
|
||||
property alias layoutHeight: settingsUI.height
|
||||
|
||||
ColumnLayout {
|
||||
id: settingsUI
|
||||
|
|
|
@ -37,8 +37,8 @@ import "../../components" as MoneroComponents
|
|||
Rectangle {
|
||||
property alias consoleArea: consoleArea
|
||||
color: "transparent"
|
||||
height: 1400
|
||||
Layout.fillWidth: true
|
||||
property alias logHeight: settingsLog.height
|
||||
|
||||
ColumnLayout {
|
||||
id: settingsLog
|
||||
|
|
|
@ -36,8 +36,8 @@ import "../../components/effects" as MoneroEffects
|
|||
|
||||
Rectangle{
|
||||
color: "transparent"
|
||||
height: 1400
|
||||
Layout.fillWidth: true
|
||||
property alias nodeHeight: root.height
|
||||
|
||||
/* main layout */
|
||||
ColumnLayout {
|
||||
|
|
|
@ -36,8 +36,8 @@ import "../../components" as MoneroComponents
|
|||
|
||||
Rectangle {
|
||||
color: "transparent"
|
||||
height: 1400
|
||||
Layout.fillWidth: true
|
||||
property alias settingsHeight: settingsWallet.height
|
||||
|
||||
ColumnLayout {
|
||||
id: settingsWallet
|
||||
|
|
Loading…
Reference in a new issue