mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 07:03:08 +00:00
homescreen: Add gradient to seperator
This commit is contained in:
parent
8722372e0f
commit
842e9dd91a
1 changed files with 9 additions and 0 deletions
|
|
@ -323,6 +323,14 @@ Item {
|
|||
rightMargin: units.gridUnit
|
||||
}
|
||||
height: 1
|
||||
gradient: Gradient {
|
||||
orientation: Gradient.Horizontal
|
||||
GradientStop { position: 0.0; color: Qt.rgba(1, 1, 1, 0) }
|
||||
GradientStop { position: 0.15; color: Qt.rgba(1, 1, 1, 0.5) }
|
||||
GradientStop { position: 0.5; color: Qt.rgba(1, 1, 1, 1) }
|
||||
GradientStop { position: 0.85; color: Qt.rgba(1, 1, 1, 0.5) }
|
||||
GradientStop { position: 1.0; color: Qt.rgba(1, 1, 1, 0) }
|
||||
}
|
||||
opacity: mainFlickable.contentY > 0 ? 0.6 : 0
|
||||
Behavior on opacity {
|
||||
OpacityAnimator {
|
||||
|
|
@ -331,6 +339,7 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Launcher.FavoriteStrip {
|
||||
id: favoriteStrip
|
||||
anchors {
|
||||
|
|
|
|||
Loading…
Reference in a new issue