bar/BottomBar.qml (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
import Quickshell
import QtQuick
import ".."
PanelWindow {
id: bottomBar
property alias bottomRightContent: bottomRight.children
property alias bottomCenterContent: bottomCenter.children
property alias bottomLeftContent: bottomLeft.children
anchors.bottom: true
anchors.left: true
anchors.right: true
implicitHeight: Resources.barsize.bottombar
color: Resources.palette.bg
Row {
id: bottomRow
anchors.fill: parent
spacing: 2
Row { // LEFT
id: bottomLeft
anchors.left: bottomRow.left
leftPadding: 8
}
Row { // CENTER
id: bottomCenter
anchors.centerIn: bottomRow
}
Row { // RIGHT
id: bottomRight
anchors.right: bottomRow.right
rightPadding: 8
}
}
}
|