Marco,
I know we had this before - and it appears this came back with the latest
Kirigami. On Android (but not when building on the desktop) suddenly the
tile bar overlaps the top of some pages again. Since I can only reproduce
this on Android bisecting this is painful, so instead I figured I'd ask
you and see if you just say "duh, right, that's why"...
One can hope :-)
What I did for now is to add something like this (but of course, now we
have extra unused space on top of the page when running on the desktop -
which makes me think that this is not the right solution).
QML UI: top padding for dive details
This used to work without manually adding space here.
Signed-off-by: Dirk Hohndel <[email protected]>
diff --git a/mobile-widgets/qml/DiveDetails.qml
b/mobile-widgets/qml/DiveDetails.qml
index ed231486d83d..22c9799cd201 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -44,7 +44,7 @@ Kirigami.Page {
title: currentItem && currentItem.modelData ?
currentItem.modelData.dive.location : qsTr("Dive details")
state: "view"
leftPadding: 0
- topPadding: 0
+ topPadding: Kirigami.Units.gridUnit * 2 // make room for the title bar
rightPadding: 0
bottomPadding: 0
Thanks for your help
/D
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface