fix: fix Wallet asset list to not show on top of header

This commit is contained in:
Jonathan Rainville 2020-06-09 10:51:38 -04:00 committed by Iuri Matias
parent 2ade9e938d
commit c3f9d57e5d

View File

@ -13,6 +13,17 @@ Item {
id: walletInfoContainer id: walletInfoContainer
width: 340 width: 340
Rectangle {
id: walletInfoHeader
anchors.left: parent.left
anchors.leftMargin: 0
anchors.right: parent.right
anchors.rightMargin: 0
height: walletValueTextContainer.y + walletValueTextContainer.height + Theme.padding
color: Theme.white
z: 1
border.width: 0
Text { Text {
id: title id: title
x: 143 x: 143
@ -27,6 +38,8 @@ Item {
Item { Item {
id: walletValueTextContainer id: walletValueTextContainer
x: 16
y: 52
anchors.left: parent.left anchors.left: parent.left
anchors.leftMargin: Theme.padding anchors.leftMargin: Theme.padding
anchors.top: title.bottom anchors.top: title.bottom
@ -59,7 +72,8 @@ Item {
} }
} }
AddAccount {} AddAccount { x: 288 ;y: 59}
}
Component { Component {
id: walletDelegate id: walletDelegate
@ -141,8 +155,7 @@ Item {
ListView { ListView {
id: listView id: listView
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.top: walletValueTextContainer.bottom anchors.top: walletInfoHeader.bottom
anchors.topMargin: Theme.padding
spacing: 5 spacing: 5
anchors.right: parent.right anchors.right: parent.right
anchors.left: parent.left anchors.left: parent.left
@ -175,11 +188,12 @@ Item {
model: walletModel.accounts model: walletModel.accounts
// model: exampleWalletModel // model: exampleWalletModel
} }
} }
/*##^## /*##^##
Designer { Designer {
D{i:0;formeditorColor:"#ffffff";formeditorZoom:0.75;height:770;width:340}D{i:2;anchors_x:82} D{i:0;formeditorColor:"#ffffff";formeditorZoom:0.75;height:770;width:340}
} }
##^##*/ ##^##*/