Added some missing widths en heights

GammaRay complained about some objects not having a size
This commit is contained in:
Jaime van Kessel 2017-10-12 19:14:22 +02:00
parent eaa7b75f0e
commit a7e1017aa2
3 changed files with 7 additions and 2 deletions

View file

@ -30,7 +30,8 @@ Item
id: repeat
model: UM.ToolModel { }
width: childrenRect.width
height: childrenRect.height
Button
{
text: model.name
@ -72,6 +73,8 @@ Item
Repeater
{
id: extruders
width: childrenRect.width
height: childrenRect.height
property var _model: Cura.ExtrudersModel { id: extrudersModel }
model: _model.items.length > 1 ? _model : 0
ExtruderButton { extruder: model }