diff options
-rw-r--r-- | resources/qml/JobSpecs.qml | 1 | ||||
-rw-r--r-- | resources/qml/Toolbar.qml | 5 | ||||
-rw-r--r-- | resources/qml/Topbar.qml | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/resources/qml/JobSpecs.qml b/resources/qml/JobSpecs.qml index 5e892a34bc..308316d3e9 100644 --- a/resources/qml/JobSpecs.qml +++ b/resources/qml/JobSpecs.qml @@ -18,6 +18,7 @@ Item { UM.I18nCatalog { id: catalog; name:"cura"} height: childrenRect.height + width: childrenRect.width Connections { 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 } diff --git a/resources/qml/Topbar.qml b/resources/qml/Topbar.qml index 35f6aa7c3e..5dacfc72ea 100644 --- a/resources/qml/Topbar.qml +++ b/resources/qml/Topbar.qml @@ -279,7 +279,8 @@ Rectangle property var buttonTarget: Qt.point(viewModeButton.x + viewModeButton.width / 2, viewModeButton.y + viewModeButton.height / 2) - height: childrenRect.height; + height: childrenRect.height + width: childrenRect.width source: UM.ActiveView.valid ? UM.ActiveView.activeViewPanel : ""; } |