mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Refactor ComponentWithIcon to use contents instead of loader.
CURA-9793
This commit is contained in:
parent
8780a2c4a0
commit
e05c70ae38
2 changed files with 5 additions and 3 deletions
|
@ -41,7 +41,7 @@ Item
|
|||
onExited: base.hideTooltip()
|
||||
}
|
||||
|
||||
Loader
|
||||
Item
|
||||
{
|
||||
id: settingContainer
|
||||
height: childrenRect.height
|
||||
|
|
|
@ -75,7 +75,8 @@ RecommendedSettingSection
|
|||
{
|
||||
Layout.fillWidth: true
|
||||
source: UM.Theme.getIcon("PrintWalls")
|
||||
displayComponent: Cura.SingleSettingTextField
|
||||
|
||||
Cura.SingleSettingTextField
|
||||
{
|
||||
width: parent.width
|
||||
settingName: "wall_thickness"
|
||||
|
@ -88,7 +89,8 @@ RecommendedSettingSection
|
|||
{
|
||||
Layout.fillWidth: true
|
||||
source: UM.Theme.getIcon("PrintTopBottom")
|
||||
displayComponent: Cura.SingleSettingTextField
|
||||
|
||||
Cura.SingleSettingTextField
|
||||
{
|
||||
width: parent.width
|
||||
settingName: "top_bottom_thickness"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue