Fix implicitWidth binding loop.

CURA-8849
This commit is contained in:
j.delarago 2022-06-28 16:39:25 +02:00
parent 8761a476a6
commit 7700d01cf3
2 changed files with 1 additions and 2 deletions

View file

@ -13,7 +13,7 @@ import Cura 1.0 as Cura
Item
{
id: enableAdhesionRow
height: childrenRect.height
height: enableAdhesionContainer.height
property real labelColumnWidth: Math.round(width / 3)
property var curaRecommendedMode: Cura.RecommendedMode {}

View file

@ -103,7 +103,6 @@ Item
id: backgroundLine
height: UM.Theme.getSize("print_setup_slider_groove").height
width: parent.width - UM.Theme.getSize("print_setup_slider_handle").width
implicitWidth: width
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
color: infillSlider.enabled ? UM.Theme.getColor("quality_slider_available") : UM.Theme.getColor("quality_slider_unavailable")