waffles: notif center: calendar header and focus

This commit is contained in:
end-4
2025-11-24 10:18:05 +01:00
parent 449d6fc285
commit e6f36114bd
29 changed files with 420 additions and 59 deletions
@@ -15,7 +15,7 @@ WBarAttachedPanelContent {
readonly property bool barAtBottom: Config.options.waffles.bar.bottom
contentItem: Column {
contentItem: ColumnLayout {
// This somewhat sophisticated anchoring is needed to make opening anim not jump abruptly when stuff appear
anchors {
left: parent.left
@@ -28,24 +28,21 @@ WBarAttachedPanelContent {
spacing: 12
WPane {
visible: MprisController.activePlayer != null && MprisController.isRealPlayer(MprisController.activePlayer)
anchors {
left: parent.left
right: parent.right
}
opacity: (MprisController.activePlayer != null && MprisController.isRealPlayer(MprisController.activePlayer)) ? 1 : 0
Layout.fillWidth: true
contentItem: MediaPaneContent {}
}
WPane {
Layout.fillWidth: true
contentItem: WStackView {
id: stackView
anchors.fill: parent
implicitWidth: initItem.implicitWidth
implicitHeight: initItem.implicitHeight
initialItem: PageColumn {
initialItem: WPanelPageColumn {
id: initItem
MainPageBody {}
Separator {}
WPanelSeparator {}
MainPageFooter {}
}