aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-16 11:54:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-04-16 14:11:31 -0700
commitbb03bd862b65adec0190bd143fffd94ca1ada598 (patch)
tree0b23b300caf94628bdb77d93fe5c0653d94d507b /mobile-widgets
parentc1bcba46f034434a56c1c37defafa214b26b270b (diff)
downloadsubsurface-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.qml2
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