fix(@desktop/wallet): Wallet -> Main screen: + button is overlapped

fixes #11845
This commit is contained in:
Khushboo Mehta 2023-08-10 12:28:42 +02:00 committed by Khushboo-dev-cpp
parent 7d0d321b35
commit 9e89bd4f1a
1 changed files with 5 additions and 3 deletions

View File

@ -182,7 +182,7 @@ Rectangle {
Item { Item {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: walletTitleText.height Layout.preferredHeight: icon.height
Layout.leftMargin: Style.current.padding Layout.leftMargin: Style.current.padding
Layout.rightMargin: Style.current.padding Layout.rightMargin: Style.current.padding
Layout.topMargin: Style.current.padding Layout.topMargin: Style.current.padding
@ -199,16 +199,18 @@ Rectangle {
font.weight: Font.Bold font.weight: Font.Bold
font.pixelSize: 17 font.pixelSize: 17
color: Theme.palette.directColor1 color: Theme.palette.directColor1
anchors.verticalCenter: parent.verticalCenter
} }
StatusRoundButton { StatusRoundButton {
id: icon
objectName: "addAccountButton" objectName: "addAccountButton"
icon.name: "add-circle" icon.name: "add-circle"
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: -Style.current.smallPadding anchors.rightMargin: -Style.current.smallPadding
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
width: height icon.width: 24
height: parent.height * 2 icon.height: 24
color: hovered || highlighted ? Theme.palette.primaryColor3 color: hovered || highlighted ? Theme.palette.primaryColor3
: "transparent" : "transparent"
onClicked: RootStore.runAddAccountPopup() onClicked: RootStore.runAddAccountPopup()