diff --git a/modules/Bar.qml b/modules/Bar.qml index 47eb0e1..680c205 100644 --- a/modules/Bar.qml +++ b/modules/Bar.qml @@ -27,24 +27,30 @@ PanelWindow { opacity: M.Theme.barOpacity } - Rectangle { + Item { anchors.top: parent.top anchors.left: parent.left anchors.right: parent.right - height: M.Theme.screenRadius > 0 ? M.Theme.screenRadius : 3 - topLeftRadius: M.Theme.screenRadius - topRightRadius: M.Theme.screenRadius - bottomLeftRadius: 0 - bottomRightRadius: 0 - gradient: Gradient { - orientation: Gradient.Horizontal - GradientStop { - position: 0 - color: M.Theme.base0C - } - GradientStop { - position: 1 - color: M.Theme.base09 + height: 3 + clip: true + + Rectangle { + anchors.top: parent.top + anchors.left: parent.left + anchors.right: parent.right + height: M.Theme.screenRadius > 0 ? M.Theme.screenRadius * 2 : 3 + topLeftRadius: M.Theme.screenRadius + topRightRadius: M.Theme.screenRadius + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { + position: 0 + color: M.Theme.base0C + } + GradientStop { + position: 1 + color: M.Theme.base09 + } } } }