QML UI: ensure delegate height is not a fraction

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-04-16 11:54:32 -07:00
parent c1bcba46f0
commit bb03bd862b

View file

@ -140,7 +140,7 @@ Kirigami.ScrollablePage {
Item {
id: diveListEntry
width: parent.width - Kirigami.Units.gridUnit * (innerListItem.deleteButtonVisible ? 3 : 1)
height: childrenRect.height + Kirigami.Units.smallSpacing
height: Math.ceil(childrenRect.height + Kirigami.Units.smallSpacing)
anchors.left: leftBarDive.right
Controls.Label {
id: locationText