Navbar: fix layout bug on resize

This commit is contained in:
selsta 2021-04-24 05:32:09 +02:00
parent bc1131ce41
commit 989f135d9a
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -129,8 +129,8 @@ Rectangle {
Layout.minimumHeight: 30
Layout.fillWidth: true
color: items[index].active ? grid.borderColor : "transparent"
height: children[0].height
width: children[0].width
implicitHeight: children[0].implicitHeight
implicitWidth: children[0].implicitWidth
MoneroComponents.TextPlain {
anchors.verticalCenter: parent.verticalCenter