summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-06 13:24:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-08 20:50:05 +0100
commit9e09a7d920985b678a44146500b29e856c7c23aa (patch)
treed957d4271370c0e2e4fbec445132f1bdff6f74d4
parent2c9bf775b7b30930513fd4804306559bd90cb76b (diff)
downloadsubsurface-9e09a7d920985b678a44146500b29e856c7c23aa.tar.gz
Mobile: ensure there's some space between date and depth/duration
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml5
-rw-r--r--mobile-widgets/qml/DiveList.qml5
2 files changed, 10 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index ee3b0902e..fcbcc1fb9 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -82,6 +82,11 @@ Item {
font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
}
+ // spacer, just in case
+ Controls.Label {
+ text: " "
+ width: Kirigami.Units.largeSpacing
+ }
// let's try to show the depth / duration very compact
Controls.Label {
text: depthDuration
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index ada10c752..0f9939817 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -148,6 +148,11 @@ Kirigami.ScrollablePage {
font.pointSize: subsurfaceTheme.smallPointSize
color: innerListItem.checked ? subsurfaceTheme.darkerPrimaryTextColor : secondaryTextColor
}
+ // spacer, just in case
+ Controls.Label {
+ text: " "
+ width: Kirigami.Units.largeSpacing
+ }
// let's try to show the depth / duration very compact
Controls.Label {
text: (undefined !== depthDuration) ? depthDuration : ""