From b5c90d67d0aa6a18e396fe8e4a519f8208708088 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Thu, 25 Feb 2016 11:35:21 +0100 Subject: [PATCH] Remove deprecated use of theme sizes from UM2 upgrades wizard CURA-91 --- resources/qml/WizardPages/SelectUpgradedPartsUM2.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/qml/WizardPages/SelectUpgradedPartsUM2.qml b/resources/qml/WizardPages/SelectUpgradedPartsUM2.qml index 6a902792e7..79404492f0 100644 --- a/resources/qml/WizardPages/SelectUpgradedPartsUM2.qml +++ b/resources/qml/WizardPages/SelectUpgradedPartsUM2.qml @@ -53,7 +53,7 @@ Item { id: pageDescription anchors.top: pageTitle.bottom - anchors.topMargin: UM.Theme.sizes.default_margin.height + anchors.topMargin: UM.Theme.getSize("default_margin").height width: parent.width wrapMode: Text.WordWrap text: catalog.i18nc("@label","To assist you in having better default settings for your Ultimaker. Cura would like to know which upgrades you have in your machine:") @@ -64,10 +64,10 @@ Item id: pageCheckboxes height: childrenRect.height anchors.left: parent.left - anchors.leftMargin: UM.Theme.sizes.default_margin.width + anchors.leftMargin: UM.Theme.getSize("default_margin").width anchors.top: pageDescription.bottom - anchors.topMargin: UM.Theme.sizes.default_margin.height - width: parent.width - UM.Theme.sizes.default_margin.width + anchors.topMargin: UM.Theme.getSize("default_margin").height + width: parent.width - UM.Theme.getSize("default_margin").width CheckBox { id: hotendCheckBox