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:
authorChrisTerBeke <c.terbeke@ultimaker.com>2017-12-08 16:56:03 +0300
committerChrisTerBeke <c.terbeke@ultimaker.com>2017-12-08 16:56:03 +0300
commitc4d7a33c31463c56ab0cf4247c1c3e51f4cbbb6b (patch)
treefff2d6e5981dd4a2d7c83b24240405a8593ed3a5 /plugins/MonitorStage
parent8cd943949792152796859b55b84b56afeb2fc68f (diff)
Monitor view component loader should have width and height from parent
Diffstat (limited to 'plugins/MonitorStage')
-rw-r--r--plugins/MonitorStage/MonitorMainView.qml7
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