aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DiveList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/DiveList.qml')
-rw-r--r--qt-mobile/qml/DiveList.qml7
1 files changed, 6 insertions, 1 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index a72d34ed4..4f147bf6d 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -51,14 +51,19 @@ Rectangle {
id: locationText
text: location
color: theme.textColor
- scale: 1.1 // Let's see how this works, otherwise, we'll need the default point size somewhere
+ //font.pointSize: Math.round(units.fontMetrics.pointSize * 1.2) // why this doesn't work is a mystery to me, so ...
+ scale: 1.2 // Let's see how this works, otherwise, we'll need the default point size somewhere
transformOrigin: Item.TopLeft
+ elide: Text.ElideRight
+ maximumLineCount: 1 // needed for elide to work at all
anchors {
left: parent.left
top: parent.top
+ right: dateLabel.left
}
}
Text {
+ id: dateLabel
text: date
opacity: 0.6
color: theme.textColor