notifs: minor fixes
This commit is contained in:
parent
89bb774012
commit
dcde23a82b
1 changed files with 3 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ Item {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
|
||||||
implicitWidth: NotifsConfig.sizes.width + root.padding * 2
|
implicitWidth: NotifsConfig.sizes.width + root.padding * 2
|
||||||
implicitHeight: Math.max(61, list.height) + root.padding * 2
|
implicitHeight: list.height + root.padding * 2
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: list
|
id: list
|
||||||
|
|
@ -32,9 +32,10 @@ Item {
|
||||||
let height = (count - 1) * spacing;
|
let height = (count - 1) * spacing;
|
||||||
for (let i = 0; i < count; i++)
|
for (let i = 0; i < count; i++)
|
||||||
height += itemAtIndex(i).height;
|
height += itemAtIndex(i).height;
|
||||||
return height;
|
return Math.max(61, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clip: true
|
||||||
orientation: Qt.Vertical
|
orientation: Qt.Vertical
|
||||||
spacing: Appearance.spacing.smaller
|
spacing: Appearance.spacing.smaller
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue