fix(@desktop/wallet): fixes eird scrolling behaviour in Wallet settings
fixes #11526
This commit is contained in:
parent
4d6c8a840b
commit
1a5907e22c
|
@ -47,6 +47,10 @@ SettingsContentBase {
|
||||||
id: stackContainer
|
id: stackContainer
|
||||||
|
|
||||||
width: root.contentWidth
|
width: root.contentWidth
|
||||||
|
height: stackContainer.currentIndex === root.mainViewIndex ? main.height:
|
||||||
|
stackContainer.currentIndex === root.networksViewIndex ? networksView.height:
|
||||||
|
stackContainer.currentIndex === root.editNetworksViewIndex ? editNetwork.height:
|
||||||
|
stackContainer.currentIndex === root.accountOrderViewIndex ? accountOrderView.height: accountView.height
|
||||||
currentIndex: mainViewIndex
|
currentIndex: mainViewIndex
|
||||||
|
|
||||||
onCurrentIndexChanged: {
|
onCurrentIndexChanged: {
|
||||||
|
@ -86,6 +90,7 @@ SettingsContentBase {
|
||||||
id: main
|
id: main
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: false
|
||||||
|
|
||||||
walletStore: root.walletStore
|
walletStore: root.walletStore
|
||||||
emojiPopup: root.emojiPopup
|
emojiPopup: root.emojiPopup
|
||||||
|
@ -105,7 +110,9 @@ SettingsContentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
NetworksView {
|
NetworksView {
|
||||||
|
id: networksView
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: false
|
||||||
|
|
||||||
walletStore: root.walletStore
|
walletStore: root.walletStore
|
||||||
|
|
||||||
|
@ -129,6 +136,7 @@ SettingsContentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
AccountOrderView {
|
AccountOrderView {
|
||||||
|
id: accountOrderView
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.leftMargin: Style.current.padding
|
Layout.leftMargin: Style.current.padding
|
||||||
Layout.rightMargin: Style.current.padding
|
Layout.rightMargin: Style.current.padding
|
||||||
|
@ -140,6 +148,7 @@ SettingsContentBase {
|
||||||
|
|
||||||
AccountView {
|
AccountView {
|
||||||
id: accountView
|
id: accountView
|
||||||
|
Layout.fillHeight: false
|
||||||
walletStore: root.walletStore
|
walletStore: root.walletStore
|
||||||
emojiPopup: root.emojiPopup
|
emojiPopup: root.emojiPopup
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,8 @@ import "../../popups"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
implicitHeight: childrenRect.height
|
||||||
signal goBack
|
signal goBack
|
||||||
|
|
||||||
property WalletStore walletStore
|
property WalletStore walletStore
|
||||||
|
|
Loading…
Reference in New Issue