import Quickshell import QtQuick import QtQuick.Layouts import ".." PanelWindow { id: topBar property alias topRightContent: topRight.children property alias topCenterContent: topCenter.children property alias topLeftContent: topLeft.children anchors { top: true left: true right: true } implicitHeight: Resources.barsize.topbar color: Resources.palette.bg RowLayout { //TOP RIGHT id: topRight spacing: 2 layoutDirection: Qt.RightToLeft Item {Layout.rightMargin: 8} anchors { right: parent.right verticalCenter: parent.verticalCenter } } RowLayout { // TOP CENTER id: topCenter spacing: 2 anchors { horizontalCenter: parent.horizontalCenter verticalCenter: parent.verticalCenter } } RowLayout { //TOP LEFT id: topLeft spacing: 2 Item {Layout.leftMargin: 8} anchors { left: parent.left verticalCenter: parent.verticalCenter } } }