Switch ManageButton over to implicitWidth & height instead of layout

This makes it a much easier to re-use component.

CURA-8587
This commit is contained in:
Jaime van Kessel 2021-12-13 12:24:18 +01:00
parent f993243d57
commit 08685af9de

View file

@ -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)