diff options
author | Jaime van Kessel <nallath@gmail.com> | 2021-12-13 14:24:18 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2021-12-13 14:24:18 +0300 |
commit | 08685af9de6dad4ffc9c2e21ead667ef08bcd2e5 (patch) | |
tree | e5d9da601130e612fec0583b51f503f745107fe9 /plugins/Marketplace/resources | |
parent | f993243d57bf030f78f8e1e8383428e990349db0 (diff) |
Switch ManageButton over to implicitWidth & height instead of layout
This makes it a much easier to re-use component.
CURA-8587
Diffstat (limited to 'plugins/Marketplace/resources')
-rw-r--r-- | plugins/Marketplace/resources/qml/ManageButton.qml | 4 |
1 files 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) |