Commit 3eccd42e authored by Devin Lin's avatar Devin Lin 🎨 Committed by Bhushan Shah
Browse files

Add swipe up label, and make main bottom elements also swipe up

parent ff6f5832
......@@ -68,14 +68,25 @@ PlasmaCore.ColorScope {
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
}
PlasmaCore.IconItem {
// bottom of screen elements
ColumnLayout {
anchors.bottom: parent.bottom
anchors.bottomMargin: units.gridUnit
anchors.left: parent.left
anchors.right: parent.right
anchors.bottomMargin: units.gridUnit + passwordFlickable.contentY * 0.5
anchors.horizontalCenter: parent.horizontalCenter
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
source: "arrow-up"
PlasmaCore.IconItem {
Layout.alignment: Qt.AlignHCenter
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
source: "arrow-up"
}
PlasmaComponents.Label {
Layout.alignment: Qt.AlignHCenter
text: qsTr("Swipe up to unlock device")
}
}
Flickable {
......
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