add gradient top border on bar
This commit is contained in:
parent
160937e674
commit
5d7f1f3fd9
1 changed files with 12 additions and 0 deletions
|
|
@ -27,6 +27,18 @@ PanelWindow {
|
||||||
opacity: M.Theme.barOpacity
|
opacity: M.Theme.barOpacity
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
height: 3
|
||||||
|
gradient: Gradient {
|
||||||
|
orientation: Gradient.Horizontal
|
||||||
|
GradientStop { position: 0; color: M.Theme.base0C }
|
||||||
|
GradientStop { position: 1; color: M.Theme.base09 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.leftMargin: M.Theme.barPadding
|
anchors.leftMargin: M.Theme.barPadding
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue