summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 19:32:04 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-18 19:32:04 +0800
commitc3e49d977cecd649814960b8df145635d0de1190 (patch)
tree00ac49a9e8eb862f06c9a9744e57f54ca7810972
parent563c25341d2f0a4f29a5f810ccba2052374ef311 (diff)
Actually implement the truncating
-rw-r--r--CardGrid.ui.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/CardGrid.ui.qml b/CardGrid.ui.qml
index 804da67..b7e5cc0 100644
--- a/CardGrid.ui.qml
+++ b/CardGrid.ui.qml
@@ -151,6 +151,8 @@ Item {
text: truncatedText
color: Qt.rgba(.455, .459, .475, 1.0)
wrapMode: Text.Wrap
+ elide: Text.ElideRight
+ maximumLineCount: 2
Layout.fillWidth: true
Layout.bottomMargin: 8
font {