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 {