diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-25 19:42:29 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-25 19:42:29 +0800 |
commit | 4319223da42e33a8a2e3d331447f00a7b2049e12 (patch) | |
tree | b005cb6335852c0a869a46129b8dad4ac97d967c | |
parent | 0d4a65bf4257367e7a6cf3c4dcea6f6a7360d290 (diff) |
Property for text-truncate(-2)
-rw-r--r-- | CardItem.ui.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CardItem.ui.qml b/CardItem.ui.qml index 741a1a5..bd13997 100644 --- a/CardItem.ui.qml +++ b/CardItem.ui.qml @@ -4,6 +4,7 @@ import QtQuick.Controls 2.15 Rectangle { property alias cardImage: image property alias cardTitle: title + property alias textTruncate: textTruncate width: 300 height: 480 @@ -71,7 +72,7 @@ Rectangle { } Label { - id: comment + id: textTruncate text: qsTr("Rooms oh fully taken by worse do Points afraid but may end Rooms Points afraid but may end Rooms") wrapMode: Text.Wrap anchors { |