Commit 1703bc2f authored by SergeyChupligin's avatar SergeyChupligin Committed by Sergey Chupligin

[devicelock] Fix lockcode postition

parent dd2ad3db
...@@ -6,17 +6,16 @@ import QtQuick.Layouts 1.0 ...@@ -6,17 +6,16 @@ import QtQuick.Layouts 1.0
Item { Item {
id: root id: root
anchors.top: clock.bottom
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
ColumnLayout { ColumnLayout {
anchors.fill: parent anchors.fill: parent
spacing: 40 spacing: 40
TextField { TextField {
id: lockCodeField id: lockCodeField
readOnly: true readOnly: true
echoMode: TextInput.PasswordEchoOnEdit echoMode: TextInput.PasswordEchoOnEdit
anchors.horizontalCenter: parent.horizontalCenter
} }
GridLayout { GridLayout {
......
...@@ -15,7 +15,13 @@ Image { ...@@ -15,7 +15,13 @@ Image {
} }
DeviceLock { DeviceLock {
id: deviceLockUI id: deviceLockUI
anchors.fill: parent anchors {
top: clock.bottom
left: parent.left
}
height: parent.height-clock.height
visible: deviceLock.state === 1 visible: deviceLock.state === 1
z: 201 z: 201
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment