From 6a38db366d944a6948c3bc76afc6b6930d702158 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 13 Jun 2016 00:35:06 +0200 Subject: [PATCH] Remove strange whitespace on right of divelist To: subsurface@subsurface-divelog.org There was a column of whitespace in the divelist that looked strange. It was there so a trash can icon can appear. Now the trashcan overlaps with the item. Signed-off-by: Robert C. Helling --- mobile-widgets/qml/DiveList.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index f949a44..eb84045 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -46,7 +46,7 @@ Kirigami.ScrollablePage { } Row { - width: parent.width - Kirigami.Units.gridUnit + width: parent.width height: childrenRect.height - Kirigami.Units.smallSpacing spacing: horizontalPadding add: Transition { @@ -129,6 +129,7 @@ Kirigami.ScrollablePage { visible: deleteButtonVisible height: diveListEntry.height - Kirigami.Units.smallSpacing width: height - 3 * Kirigami.Units.smallSpacing + anchors.right: diveListEntry.right color: "#FF3030" antialiasing: true radius: Kirigami.Units.smallSpacing -- 2.7.4 (Apple Git-66)