mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Fix binding loop errors
This commit is contained in:
parent
00875f0330
commit
132a1a1951
2 changed files with 4 additions and 3 deletions
|
@ -11,7 +11,7 @@ Item
|
||||||
id: tile
|
id: tile
|
||||||
property bool installed: toolbox.isInstalled(model.id)
|
property bool installed: toolbox.isInstalled(model.id)
|
||||||
width: detailList.width - UM.Theme.getSize("wide_margin").width
|
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
|
Item
|
||||||
{
|
{
|
||||||
id: normalData
|
id: normalData
|
||||||
|
|
|
@ -9,7 +9,7 @@ import UM 1.1 as UM
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
width: UM.Theme.getSize("toolbox_thumbnail_large").width
|
width: UM.Theme.getSize("toolbox_thumbnail_large").width
|
||||||
height: childrenRect.height
|
height: thumbnail.height + packageName.height
|
||||||
Rectangle
|
Rectangle
|
||||||
{
|
{
|
||||||
id: highlight
|
id: highlight
|
||||||
|
@ -44,10 +44,11 @@ Item
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
id: packageName
|
||||||
text: model.name
|
text: model.name
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
bottom: parent.bottom
|
top: thumbnail.bottom
|
||||||
horizontalCenter: parent.horizontalCenter
|
horizontalCenter: parent.horizontalCenter
|
||||||
}
|
}
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue