Tiny layout fix

This commit is contained in:
ly-sec 2025-07-18 23:26:29 +02:00
parent 7cdfa5f82b
commit 5c29a6086a

View file

@ -15,7 +15,7 @@ PanelWithOverlay {
id: notificationHistoryWinRect id: notificationHistoryWinRect
implicitWidth: 400 implicitWidth: 400
property int maxPopupHeight: 800 property int maxPopupHeight: 800
property int minPopupHeight: 230 property int minPopupHeight: 210
property int contentHeight: headerRow.height + historyList.contentHeight + 56 property int contentHeight: headerRow.height + historyList.contentHeight + 56
implicitHeight: Math.max(Math.min(contentHeight, maxPopupHeight), minPopupHeight) implicitHeight: Math.max(Math.min(contentHeight, maxPopupHeight), minPopupHeight)
visible: parent.visible visible: parent.visible
@ -271,10 +271,7 @@ PanelWithOverlay {
Column { Column {
anchors.fill: parent anchors.fill: parent
spacing: 0 spacing: 0
Item {
id: topSpacer
height: (parent.height - historyList.height) / 2
}
ListView { ListView {
id: historyList id: historyList
width: parent.width width: parent.width