CURA-5035 Aproaching the asymptote of done

This commit is contained in:
Ian Paschal 2018-04-30 17:05:46 +02:00
parent 01007946b4
commit 2d54251be0
5 changed files with 24 additions and 20 deletions

View file

@ -23,9 +23,7 @@ Item
bottomMargin: UM.Theme.getSize("wide_margin").height
top: parent.top
}
// TODO: Sometimes the height is not the childrenRect.height. Lord
// knows why. Probably because QT is garbage.
height: childrenRect.height
height: childrenRect.height + UM.Theme.getSize("wide_margin").height
spacing: UM.Theme.getSize("default_margin").height
Repeater
{

View file

@ -189,11 +189,12 @@ Item
Item
{
id: supportedConfigsChart
anchors.top: normalData.bottom
anchors.topMargin: UM.Theme.getSize("default_margin").height
height: model.type == "material" ? childrenRect.height : 0
height: visible ? childrenRect.height : 0
width: normalData.width
visible: model.type == "material"
visible: model.type == "material" && model.supported_configs.length > 0
Label
{
id: compatibilityHeading