Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2017-10-12 20:14:22 +0300
committerJaime van Kessel <nallath@gmail.com>2017-10-12 20:14:22 +0300
commita7e1017aa20d3abd5ee9822736fb871f40d2800d (patch)
treeaf1ee5555a9270688bee2d0d44e7ce31cb70b08d /resources/qml/Toolbar.qml
parenteaa7b75f0e2d4981e0aa2de640e80fdbca818353 (diff)
Added some missing widths en heights
GammaRay complained about some objects not having a size
Diffstat (limited to 'resources/qml/Toolbar.qml')
-rw-r--r--resources/qml/Toolbar.qml5
1 files changed, 4 insertions, 1 deletions
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml
index f32a5edc6f..77ffc7f2a9 100644
--- a/resources/qml/Toolbar.qml
+++ b/resources/qml/Toolbar.qml
@@ -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 }