diff options
author | ChrisTerBeke <c.terbeke@ultimaker.com> | 2017-12-08 16:56:03 +0300 |
---|---|---|
committer | ChrisTerBeke <c.terbeke@ultimaker.com> | 2017-12-08 16:56:03 +0300 |
commit | c4d7a33c31463c56ab0cf4247c1c3e51f4cbbb6b (patch) | |
tree | fff2d6e5981dd4a2d7c83b24240405a8593ed3a5 /plugins | |
parent | 8cd943949792152796859b55b84b56afeb2fc68f (diff) |
Monitor view component loader should have width and height from parent
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MonitorStage/MonitorMainView.qml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/MonitorStage/MonitorMainView.qml b/plugins/MonitorStage/MonitorMainView.qml index 038403e6d3..15b05bed0a 100644 --- a/plugins/MonitorStage/MonitorMainView.qml +++ b/plugins/MonitorStage/MonitorMainView.qml @@ -8,6 +8,9 @@ import Cura 1.0 as Cura Item
{
+ width: parent.width
+ height: parent.height
+
// We show a nice overlay on the 3D viewer when the current output device has no monitor view
Rectangle
{
@@ -16,7 +19,6 @@ Item color: UM.Theme.getColor("viewport_overlay")
width: parent.width
height: parent.height
- visible: monitorViewComponent.sourceComponent == null ? 1 : 0
MouseArea
{
@@ -30,6 +32,9 @@ Item {
id: monitorViewComponent
+ width: parent.width
+ height: parent.height
+
property real maximumWidth: parent.width
property real maximumHeight: parent.height
|