Test: added a slim border below the bar (to be discussed)
This commit is contained in:
parent
4937382001
commit
4f199c0240
1 changed files with 12 additions and 3 deletions
15
Bar/Bar.qml
15
Bar/Bar.qml
|
|
@ -14,12 +14,10 @@ import qs.Widgets
|
||||||
import qs.Widgets.Notification
|
import qs.Widgets.Notification
|
||||||
import qs.Widgets.SidePanel
|
import qs.Widgets.SidePanel
|
||||||
|
|
||||||
|
|
||||||
// Main bar component - creates panels on selected monitors with widgets and corners
|
// Main bar component - creates panels on selected monitors with widgets and corners
|
||||||
Scope {
|
Scope {
|
||||||
id: rootScope
|
id: rootScope
|
||||||
|
|
||||||
property var shell
|
|
||||||
property alias visible: barRootItem.visible
|
property alias visible: barRootItem.visible
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
|
@ -52,8 +50,19 @@ Scope {
|
||||||
color: Theme.backgroundPrimary
|
color: Theme.backgroundPrimary
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
||||||
|
Rectangle {
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
width: parent.width
|
||||||
|
height: 1
|
||||||
|
color: "transparent"
|
||||||
|
border.color: Theme.outline || "#444"
|
||||||
|
border.width: 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
id: leftWidgetsRow
|
id: leftWidgetsRow
|
||||||
|
|
||||||
|
|
@ -261,7 +270,7 @@ Scope {
|
||||||
aboveWindows: false
|
aboveWindows: false
|
||||||
implicitHeight: 24
|
implicitHeight: 24
|
||||||
|
|
||||||
Corner{
|
Corner {
|
||||||
id: bottomRightCorner
|
id: bottomRightCorner
|
||||||
|
|
||||||
position: "topright"
|
position: "topright"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue