diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-10-01 10:58:57 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-01 05:28:18 -0700 |
commit | bec029c766c1f0f83d01b412692c29b6147d805c (patch) | |
tree | 44105af930981aa52042df2858f546a05681970a /mobile-widgets | |
parent | 53341c037d5a5ecac6562933aa924b65c207104d (diff) | |
download | subsurface-bec029c766c1f0f83d01b412692c29b6147d805c.tar.gz |
QML UI: trivial resize of datebox
Something that I simply overlooked earlier with respect to scaling the
divelist. The trip databox did scale a bit, but it was not nicely
related to the hight of the trip header. So there was a tiny
overflow on the small scale on a small device. Fixed here.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 5c1633a2b..5c260028e 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -256,8 +256,8 @@ Kirigami.ScrollablePage { Rectangle { id: dateBox visible: section != "" - height: section == "" ? 0 : 2 * Kirigami.Units.gridUnit - width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit + height: section == "" ? 0 : parent.height - Kirigami.Units.smallSpacing + width: section == "" ? 0 : 2.5 * Kirigami.Units.gridUnit * PrefDisplay.mobile_scale color: subsurfaceTheme.primaryColor radius: Kirigami.Units.smallSpacing * 2 antialiasing: true |