From 08685af9de6dad4ffc9c2e21ead667ef08bcd2e5 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 13 Dec 2021 12:24:18 +0100 Subject: [PATCH] Switch ManageButton over to implicitWidth & height instead of layout This makes it a much easier to re-use component. CURA-8587 --- plugins/Marketplace/resources/qml/ManageButton.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Marketplace/resources/qml/ManageButton.qml b/plugins/Marketplace/resources/qml/ManageButton.qml index ac7577b543..d3b86a6fa9 100644 --- a/plugins/Marketplace/resources/qml/ManageButton.qml +++ b/plugins/Marketplace/resources/qml/ManageButton.qml @@ -16,8 +16,8 @@ Item property bool busy property bool confirmed - Layout.preferredWidth: childrenRect.width - Layout.preferredHeight: childrenRect.height + implicitWidth: childrenRect.width + implicitHeight: childrenRect.height signal clicked(bool primary_action)