diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml index dd603df195..54f005bb9e 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedStrengthSelector.qml @@ -3,8 +3,9 @@ import QtQuick 2.7 import QtQuick.Controls 2.15 +import QtQuick.Layouts 2.10 -import UM 1.5 as UM +import UM 1.7 as UM import Cura 1.7 as Cura @@ -63,12 +64,34 @@ RecommendedSettingSection { settingName: catalog.i18nc("@action:label", "Shell Thickness") - settingControl: Cura.SingleSettingTextField + settingControl: RowLayout { - width: parent.width - settingName: "wall_thickness" - validator: Cura.FloatValidator {} - unitText: catalog.i18nc("@label", "mm") + anchors.fill: parent + spacing: UM.Theme.getSize("default_margin").width + UM.ComponentWithIcon + { + Layout.fillWidth: true + source: UM.Theme.getIcon("PrintWalls") + displayComponent: Cura.SingleSettingTextField + { + width: parent.width + settingName: "wall_thickness" + validator: Cura.FloatValidator {} + unitText: catalog.i18nc("@label", "mm") + } + } + UM.ComponentWithIcon + { + Layout.fillWidth: true + source: UM.Theme.getIcon("PrintTopBottom") + displayComponent: Cura.SingleSettingTextField + { + width: parent.width + settingName: "top_bottom_thickness" + validator: Cura.FloatValidator {} + unitText: catalog.i18nc("@label", "mm") + } + } } } ] diff --git a/resources/themes/cura-light/icons/default/PrintWalls.svg b/resources/themes/cura-light/icons/default/PrintWalls.svg new file mode 100644 index 0000000000..156a87177d --- /dev/null +++ b/resources/themes/cura-light/icons/default/PrintWalls.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +