fixed notifications popup menu reserving too much space for the next card
This commit is contained in:
@@ -276,7 +276,7 @@ Rectangle {
|
|||||||
Rectangle {
|
Rectangle {
|
||||||
id: historyCard
|
id: historyCard
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: Math.min(histHeader.implicitHeight + 56 + (notifHistory.count > 0 ? notifHistory.count * 76 : 90), 520)
|
height: Math.min(histHeader.implicitHeight + 56 + (notifHistory.count > 0 ? histCol.implicitHeight : 90), 520)
|
||||||
|
|
||||||
anchors.top: root.isTop ? parent.top : undefined
|
anchors.top: root.isTop ? parent.top : undefined
|
||||||
anchors.bottom: root.isTop ? undefined : parent.bottom
|
anchors.bottom: root.isTop ? undefined : parent.bottom
|
||||||
|
|||||||
Reference in New Issue
Block a user