diff options
-rw-r--r-- | CardItem.ui.qml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CardItem.ui.qml b/CardItem.ui.qml index 42fab21..a039ff1 100644 --- a/CardItem.ui.qml +++ b/CardItem.ui.qml @@ -2,7 +2,10 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 Rectangle { - id: rectangle + property alias cardImage: image + property alias cardTitle: title + property alias textTruncate: textTruncate + width: 300 height: 480 @@ -70,7 +73,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 { |