From 5668eba6b2618ec7b27a34adcd147448c1d02a69 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 16 Oct 2020 15:41:14 +0200 Subject: [PATCH] Don't use anchors in a Layout context The anchors won't work then. They can never mix. In this case it's easiest to continue with the Layout. Contributes to issue CURA-7501. --- plugins/Toolbox/resources/qml/dialogs/ToolboxLicenseDialog.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/Toolbox/resources/qml/dialogs/ToolboxLicenseDialog.qml b/plugins/Toolbox/resources/qml/dialogs/ToolboxLicenseDialog.qml index 6e6df2ee67..9219f4ed32 100644 --- a/plugins/Toolbox/resources/qml/dialogs/ToolboxLicenseDialog.qml +++ b/plugins/Toolbox/resources/qml/dialogs/ToolboxLicenseDialog.qml @@ -42,8 +42,7 @@ UM.Dialog Row { id: packageRow - anchors.left: parent.left - anchors.right: parent.right + Layout.fillWidth: true height: childrenRect.height spacing: UM.Theme.getSize("default_margin").width leftPadding: UM.Theme.getSize("narrow_margin").width