left-bar working, bottom bar semi-broken

This commit is contained in:
2026-08-14 16:31:52 +02:00
parent 1d150292d3
commit 4517e5ecd0
28 changed files with 404 additions and 168 deletions
+5 -4
View File
@@ -7,12 +7,14 @@ import qs.Components
CustomRect {
id: root
required property bool horizontal
required property Wrapper popouts
required property PersistentProperties visibilities
anchors.fill: parent
color: visibilities.sidebar ? DynamicColors.palette.m3primary : DynamicColors.tPalette.m3surfaceContainer
implicitHeight: Config.bar.height + Appearance.padding.smallest * 2
implicitWidth: implicitHeight
implicitHeight: horizontal ? Config.bar.height + Appearance.padding.smallest * 2 : width
implicitWidth: horizontal ? height : Config.bar.height + Appearance.padding.smallest * 2
radius: Appearance.rounding.full
MaterialIcon {
@@ -21,8 +23,7 @@ CustomRect {
anchors.centerIn: parent
color: root.visibilities.sidebar ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
fill: root.visibilities.sidebar ? 1 : 0
font.family: "Material Symbols Rounded"
font.pointSize: Appearance.font.size.larger
font.pointSize: root.horizontal ? Appearance.font.size.larger : Appearance.font.size.large
text: NotifServer.list.length ? "\uf4fe" : "\ue7f4"
Behavior on color {