summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-26 09:43:20 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-26 08:38:53 -0700
commit7367d2535f89293d4fbff55e4494b48b41cb91b8 (patch)
tree955dc8c8d9b13222914af03fe6f6708acc4a0403
parentbe1d3a7986a8edc5f72ee7efdba5ec4618cd8870 (diff)
downloadsubsurface-7367d2535f89293d4fbff55e4494b48b41cb91b8.tar.gz
mobile, QML UI: fix overlapping button
The select buttons in the downloaded dives delegate overlapped the dive data. Simple margin change fixes this. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r--mobile-widgets/qml/DownloadedDiveDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadedDiveDelegate.qml b/mobile-widgets/qml/DownloadedDiveDelegate.qml
index 103d9f534..8aa4e912f 100644
--- a/mobile-widgets/qml/DownloadedDiveDelegate.qml
+++ b/mobile-widgets/qml/DownloadedDiveDelegate.qml
@@ -36,7 +36,7 @@ Kirigami.AbstractListItem {
SsrfCheckBox {
id: diveIsSelected
checked: innerListItem.selected;
- width: childrenRect.width - Kirigami.Units.smallSpacing;
+ width: childrenRect.width + 4 * Kirigami.Units.smallSpacing;
height: childrenRect.heigh - Kirigami.Units.smallSpacing;
anchors.verticalCenter: parent.verticalCenter
onClicked: {