diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-04-16 11:54:32 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-04-16 14:11:31 -0700 |
commit | bb03bd862b65adec0190bd143fffd94ca1ada598 (patch) | |
tree | 0b23b300caf94628bdb77d93fe5c0653d94d507b /mobile-widgets | |
parent | c1bcba46f034434a56c1c37defafa214b26b270b (diff) | |
download | subsurface-bb03bd862b65adec0190bd143fffd94ca1ada598.tar.gz |
QML UI: ensure delegate height is not a fraction
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 8917f0a58..ce40f882d 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -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 |