From 7abef64030badb8eea797d8a1d6cbcaf97184efc Mon Sep 17 00:00:00 2001 From: Oscar Andreasson Date: Mon, 30 Nov 2015 09:33:19 +0100 Subject: [PATCH] QmlMirror.qml Fixed some layout issues --- MirrorText.qml | 2 +- QmlMirror.qml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/MirrorText.qml b/MirrorText.qml index 6db0ebd..dba32db 100644 --- a/MirrorText.qml +++ b/MirrorText.qml @@ -13,6 +13,6 @@ Text { anchors.top: parent.top font.pointSize: 48 font.family: "Helvetica" - color: "#ffffff" + color: "white" //anchors.horizontalCenter: parent.horizontalCenter } diff --git a/QmlMirror.qml b/QmlMirror.qml index 35c2caa..5e8bed1 100644 --- a/QmlMirror.qml +++ b/QmlMirror.qml @@ -12,8 +12,10 @@ import QtQuick.Layouts 1.1 import QtQuick.Window 2.0 Rectangle { - anchors.fill: parent + id: root color: "black" + width: 1080 + height: 1980 Position { id: positionId @@ -26,7 +28,8 @@ Rectangle { Rectangle { anchors.top: positionId.bottom - width: 1080 + width: root.width + height: root.width-positionId.width Row { Column { Clock {