diff options
author | j.delarago <joeydelarago@gmail.com> | 2022-06-16 14:23:50 +0300 |
---|---|---|
committer | j.delarago <joeydelarago@gmail.com> | 2022-06-16 14:23:50 +0300 |
commit | 1e5f6bce7243da3825ab5489bd6db1f411a1d712 (patch) | |
tree | b98c13de8417d918d2930dae04acb7cc6bb67445 /resources | |
parent | 7d8fdf8bdd63116aa890bec03e95463f66205ad4 (diff) |
Increase margins on warning to match design
CURA-8849
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml | 5 | ||||
-rw-r--r-- | resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml b/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml index c9abcab1c8..af4ec45ac2 100644 --- a/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml +++ b/resources/qml/PrintSetupSelector/Recommended/ProfileWarningReset.qml @@ -3,13 +3,10 @@ import QtQuick 2.10 import UM 1.6 as UM import Cura 1.6 as Cura -Rectangle +Item { height: visible ? UM.Theme.getSize("action_button_icon").height : 0 visible: Cura.SimpleModeSettingsManager.isProfileCustomized || Cura.MachineManager.hasCustomQuality - anchors.topMargin: UM.Theme.getSize("default_margin") - anchors.bottomMargin: UM.Theme.getSize("default_margin") - Rectangle { diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml index 8feadc4f88..30fe571b7a 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedPrintSetup.qml @@ -62,6 +62,8 @@ Item { width: parent.width Layout.fillWidth: true + Layout.topMargin: UM.Theme.getSize("thin_margin").height + Layout.bottomMargin: UM.Theme.getSize("thin_margin").height } //Line between the sections. |