From 1df085240dd673fddbd331b1df30111c984bcfdd Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 13 Jun 2016 00:35:06 +0200 Subject: Remove strange whitespace on right of divelist 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 Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 6741098ff..223afdce4 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 -- cgit v1.2.3-70-g09d2