diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-17 15:11:20 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-20 10:51:18 -0800 |
commit | 00cb5dd834da954af512275cc42df9ebe1d69c14 (patch) | |
tree | 246baac4930fb4c22640819a056db69f859362b7 /mobile-widgets/qml/DiveList.qml | |
parent | 31b28a31a99053463c7ab5ce3bd83aae82f4cb13 (diff) | |
download | subsurface-00cb5dd834da954af512275cc42df9ebe1d69c14.tar.gz |
mobile/UI: ensure we show a line between dives
In the dive list the rendering of the line ended up being subject to
rounding errors. With this change we ensure that the thin line is always
shown.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-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 063b0a4c4..7a8a7e668 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -162,7 +162,7 @@ Kirigami.ScrollablePage { } Item { id: diveListEntry - height: visible ? 10 * Kirigami.Units.smallSpacing : 0 + height: visible ? 10 * Kirigami.Units.smallSpacing - 1 : 0 anchors { right: parent.right left: leftBarDive.right |