mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53: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,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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue