all repos — quickshell @ 55b30d92682fe15ee20bd17e46c79ca21e176659

A desert-witch desktop shell

bar/BottomBar_thee_rows.qml.bak (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
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
import Quickshell
import QtQuick
import QtQuick.Layouts
import ".."

PanelWindow {
  id: bottomBar
  property alias bottomRightContent: bottomRight.children
  property alias bottomCenterContent: bottomCenter.children
  property alias bottomLeftContent: bottomLeft.children
  aboveWindows: false
  anchors {
    bottom: true
    left: true
    right: true
  }
  implicitHeight: Resources.barsize.bottombar
  color: Resources.palette.bg

  RowLayout { //BOTTOM RIGHT
    id: bottomRight
    Item {Layout.rightMargin: 8}
    spacing: 2
    layoutDirection: Qt.RightToLeft
    anchors {
      right: parent.right
      verticalCenter: parent.verticalCenter
    }
  }

  RowLayout {
    id: bottomCenter
    spacing: 2
    anchors {
      horizontalCenter: parent.horizontalCenter
      verticalCenter: parent.verticalCenter
    }
  }

  RowLayout {
    id: bottomLeft
    spacing: 2
    Item {Layout.leftMargin: 8}
    anchors {
      verticalCenter: parent.verticalCenter
    }
  }
}