mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
Fix spacing vertical between Recommended sections and setting items.
CURA-9793
This commit is contained in:
parent
680a86c896
commit
dbf2ae4f60
5 changed files with 28 additions and 22 deletions
|
@ -76,28 +76,31 @@ Item
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
color: UM.Theme.getColor("lining")
|
color: UM.Theme.getColor("lining")
|
||||||
}
|
}
|
||||||
|
ColumnLayout
|
||||||
UM.Label
|
|
||||||
{
|
{
|
||||||
text: catalog.i18nc("@label", "Print settings")
|
spacing: UM.Theme.getSize("thin_margin").height
|
||||||
font: UM.Theme.getFont("medium")
|
UM.Label
|
||||||
}
|
{
|
||||||
|
text: catalog.i18nc("@label", "Reccomended print settings")
|
||||||
|
font: UM.Theme.getFont("medium")
|
||||||
|
}
|
||||||
|
|
||||||
RecommendedStrengthSelector
|
RecommendedStrengthSelector
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
RecommendedSupportSelector
|
RecommendedSupportSelector
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
||||||
RecommendedAdhesionSelector {
|
RecommendedAdhesionSelector {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,9 +77,13 @@ Item
|
||||||
{
|
{
|
||||||
id: settingColumn
|
id: settingColumn
|
||||||
width: parent.width
|
width: parent.width
|
||||||
spacing: 0
|
spacing: UM.Theme.getSize("thin_margin").height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: sectionHeader.bottom
|
anchors.top: sectionHeader.bottom
|
||||||
|
anchors.topMargin: UM.Theme.getSize("narrow_margin").height
|
||||||
|
|
||||||
|
Layout.preferredHeight: UM.Theme.getSize("recommended_section_setting_item").height
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -54,7 +54,6 @@ RecommendedSettingSection
|
||||||
settingControl: Cura.SingleSettingComboBox
|
settingControl: Cura.SingleSettingComboBox
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: UM.Theme.getSize("combobox").height
|
|
||||||
settingName: "infill_pattern"
|
settingName: "infill_pattern"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,6 @@ RecommendedSettingSection
|
||||||
settingControl: Cura.SingleSettingComboBox
|
settingControl: Cura.SingleSettingComboBox
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: UM.Theme.getSize("combobox").height
|
|
||||||
settingName: "support_structure"
|
settingName: "support_structure"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -74,7 +73,6 @@ RecommendedSettingSection
|
||||||
settingControl: Cura.SingleSettingComboBox
|
settingControl: Cura.SingleSettingComboBox
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: UM.Theme.getSize("combobox").height
|
|
||||||
settingName: "support_type"
|
settingName: "support_type"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -653,6 +653,8 @@
|
||||||
|
|
||||||
"recommended_button_icon": [1.7, 1.7],
|
"recommended_button_icon": [1.7, 1.7],
|
||||||
|
|
||||||
|
"recommended_section_setting_item": [14.0, 2.0],
|
||||||
|
|
||||||
"reset_profile_icon": [1, 1]
|
"reset_profile_icon": [1, 1]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue