mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:35:53 +08:00
Fix binding loop errors
This commit is contained in:
parent
00875f0330
commit
132a1a1951
@ -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…
x
Reference in New Issue
Block a user