QmlMirror.qml Fixed some layout issues
This commit is contained in:
parent
ab969a10c8
commit
7abef64030
2 changed files with 6 additions and 3 deletions
|
@ -13,6 +13,6 @@ Text {
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
font.pointSize: 48
|
font.pointSize: 48
|
||||||
font.family: "Helvetica"
|
font.family: "Helvetica"
|
||||||
color: "#ffffff"
|
color: "white"
|
||||||
//anchors.horizontalCenter: parent.horizontalCenter
|
//anchors.horizontalCenter: parent.horizontalCenter
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,8 +12,10 @@ import QtQuick.Layouts 1.1
|
||||||
import QtQuick.Window 2.0
|
import QtQuick.Window 2.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
id: root
|
||||||
color: "black"
|
color: "black"
|
||||||
|
width: 1080
|
||||||
|
height: 1980
|
||||||
|
|
||||||
Position {
|
Position {
|
||||||
id: positionId
|
id: positionId
|
||||||
|
@ -26,7 +28,8 @@ Rectangle {
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.top: positionId.bottom
|
anchors.top: positionId.bottom
|
||||||
width: 1080
|
width: root.width
|
||||||
|
height: root.width-positionId.width
|
||||||
Row {
|
Row {
|
||||||
Column {
|
Column {
|
||||||
Clock {
|
Clock {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue