mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03: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 {
|
PlasmaCore.ColorScope {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
|
||||||
|
|
||||||
GridView {
|
GridView {
|
||||||
id: applicationsView
|
id: applicationsView
|
||||||
anchors {
|
anchors {
|
||||||
|
|
@ -173,6 +174,16 @@ Item {
|
||||||
height: width
|
height: width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
PlasmaComponents.ScrollBar {
|
||||||
|
flickableItem: applicationsView
|
||||||
|
opacity: applicationsView.flicking ? 1 : 0
|
||||||
|
Behavior on opacity {
|
||||||
|
NumberAnimation {
|
||||||
|
duration: units.shortDuration
|
||||||
|
easing.type: Easing.InOutQuad
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue