Fix binding loop errors

This commit is contained in:
fieldOfView 2018-05-02 17:20:15 +02:00
parent 00875f0330
commit 132a1a1951
2 changed files with 4 additions and 3 deletions

View file

@ -11,7 +11,7 @@ Item
id: tile
property bool installed: toolbox.isInstalled(model.id)
width: detailList.width - UM.Theme.getSize("wide_margin").width
height: Math.max(UM.Theme.getSize("toolbox_detail_tile").height, childrenRect.height + UM.Theme.getSize("default_margin").height)
height: normalData.height + supportedConfigsChart.height + 3 * UM.Theme.getSize("default_margin").height
Item
{
id: normalData

View file

@ -9,7 +9,7 @@ import UM 1.1 as UM
Item
{
width: UM.Theme.getSize("toolbox_thumbnail_large").width
height: childrenRect.height
height: thumbnail.height + packageName.height
Rectangle
{
id: highlight
@ -44,10 +44,11 @@ Item
}
Label
{
id: packageName
text: model.name
anchors
{
bottom: parent.bottom
top: thumbnail.bottom
horizontalCenter: parent.horizontalCenter
}
verticalAlignment: Text.AlignVCenter