mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 10:39:01 +08:00
Refactor ComponentWithIcon to use contents instead of loader.
CURA-9793
This commit is contained in:
parent
8780a2c4a0
commit
e05c70ae38
@ -41,7 +41,7 @@ Item
|
|||||||
onExited: base.hideTooltip()
|
onExited: base.hideTooltip()
|
||||||
}
|
}
|
||||||
|
|
||||||
Loader
|
Item
|
||||||
{
|
{
|
||||||
id: settingContainer
|
id: settingContainer
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
|
@ -75,7 +75,8 @@ RecommendedSettingSection
|
|||||||
{
|
{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
source: UM.Theme.getIcon("PrintWalls")
|
source: UM.Theme.getIcon("PrintWalls")
|
||||||
displayComponent: Cura.SingleSettingTextField
|
|
||||||
|
Cura.SingleSettingTextField
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
settingName: "wall_thickness"
|
settingName: "wall_thickness"
|
||||||
@ -88,7 +89,8 @@ RecommendedSettingSection
|
|||||||
{
|
{
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
source: UM.Theme.getIcon("PrintTopBottom")
|
source: UM.Theme.getIcon("PrintTopBottom")
|
||||||
displayComponent: Cura.SingleSettingTextField
|
|
||||||
|
Cura.SingleSettingTextField
|
||||||
{
|
{
|
||||||
width: parent.width
|
width: parent.width
|
||||||
settingName: "top_bottom_thickness"
|
settingName: "top_bottom_thickness"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user