mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Add swipe up label, and make main bottom elements also swipe up
This commit is contained in:
parent
ff6f583289
commit
3eccd42e13
1 changed files with 15 additions and 4 deletions
|
|
@ -68,16 +68,27 @@ PlasmaCore.ColorScope {
|
||||||
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
|
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.IconItem {
|
// bottom of screen elements
|
||||||
|
ColumnLayout {
|
||||||
anchors.bottom: parent.bottom
|
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
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
|
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
|
||||||
|
|
||||||
|
PlasmaCore.IconItem {
|
||||||
|
Layout.alignment: Qt.AlignHCenter
|
||||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||||
source: "arrow-up"
|
source: "arrow-up"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PlasmaComponents.Label {
|
||||||
|
Layout.alignment: Qt.AlignHCenter
|
||||||
|
text: qsTr("Swipe up to unlock device")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
id: passwordFlickable
|
id: passwordFlickable
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue