summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2016-06-13 00:35:06 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-06-12 15:49:17 -0700
commit1df085240dd673fddbd331b1df30111c984bcfdd (patch)
tree356162f154e04bd404ed4f16ade024914ca3230d /mobile-widgets
parent22170d39913af6926f956a3a8ce0f46d92d913ed (diff)
downloadsubsurface-1df085240dd673fddbd331b1df30111c984bcfdd.tar.gz
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 <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml3
1 files changed, 2 insertions, 1 deletions
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