mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
a scrollbar
This commit is contained in:
parent
533fc5af03
commit
dab083c37b
1 changed files with 11 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ Item {
|
|||
PlasmaCore.ColorScope {
|
||||
anchors.fill: parent
|
||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||
|
||||
GridView {
|
||||
id: applicationsView
|
||||
anchors {
|
||||
|
|
@ -173,6 +174,16 @@ Item {
|
|||
height: width
|
||||
}
|
||||
}
|
||||
PlasmaComponents.ScrollBar {
|
||||
flickableItem: applicationsView
|
||||
opacity: applicationsView.flicking ? 1 : 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: units.shortDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue