aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-04-24 05:32:09 +0200
committerselsta <selsta@sent.at>2021-04-24 05:32:09 +0200
commit989f135d9aee0f320306a6342fc8d6b484ef1759 (patch)
tree33d010233338083e375159034af47d44c52a46ee /components
parentbc1131ce41f5386639ddf0538df8044cb5271598 (diff)
downloadmonzero-gui-989f135d9aee0f320306a6342fc8d6b484ef1759.tar.gz
monzero-gui-989f135d9aee0f320306a6342fc8d6b484ef1759.tar.xz
monzero-gui-989f135d9aee0f320306a6342fc8d6b484ef1759.zip
Navbar: fix layout bug on resize
Diffstat (limited to 'components')
-rw-r--r--components/Navbar.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/Navbar.qml b/components/Navbar.qml
index 03386744..c10101a7 100644
--- a/components/Navbar.qml
+++ b/components/Navbar.qml
@@ -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