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
|
||||
font.pointSize: 48
|
||||
font.family: "Helvetica"
|
||||
color: "#ffffff"
|
||||
color: "white"
|
||||
//anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue