1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00
Files
DankMaterialShell/Modules/Notifications/Center/NotificationList.qml
bbedward 98d2ca24a8 workaround for all the terrible default QT scrolling behavior
- DankGridView, DankFlickable, DankListView\
- Touchpad behavior greatly improved by preserving momentum
- Fixed janky nested scrollers in control center
2025-08-07 15:22:40 -04:00

29 lines
546 B
QML

import QtQuick
import QtQuick.Controls
import qs.Common
import qs.Services
import qs.Widgets
DankListView {
id: root
property alias count: root.count
property alias listContentHeight: root.contentHeight
width: parent.width
height: parent.height
clip: true
model: NotificationService.groupedNotifications
spacing: Theme.spacingL
NotificationEmptyState {
visible: root.count === 0
anchors.centerIn: parent
}
delegate: NotificationCard {
notificationGroup: modelData
}
}