From 989f135d9aee0f320306a6342fc8d6b484ef1759 Mon Sep 17 00:00:00 2001 From: selsta Date: Sat, 24 Apr 2021 05:32:09 +0200 Subject: [PATCH] Navbar: fix layout bug on resize --- components/Navbar.qml | 4 ++-- 1 file 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