Files
z-bar-qt/Modules/Notifications/Sidebar/Content.qml
T
zach fbadcbb717
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 12s
Python / lint-format (pull_request) Successful in 18s
Python / test (pull_request) Successful in 28s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m14s
sidebar doesn't reduce height when new notifs come in
2026-06-17 21:49:52 +02:00

38 lines
685 B
QML

import qs.Components
import qs.Config
import QtQuick
import QtQuick.Layouts
Item {
id: root
required property Props props
required property var visibilities
ColumnLayout {
id: layout
anchors.fill: parent
spacing: Appearance.spacing.small
CustomRect {
Layout.fillHeight: true
Layout.fillWidth: true
color: DynamicColors.tPalette.m3surfaceContainerLow
radius: Appearance.rounding.smallest
NotifDock {
props: root.props
visibilities: root.visibilities
}
}
CustomRect {
Layout.fillWidth: true
Layout.topMargin: Appearance.padding.normal - layout.spacing
color: DynamicColors.tPalette.m3outlineVariant
implicitHeight: 1
}
}
}