From 2127dd61cda7dcb65b4edd51556158a8e79b0795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 12 Apr 2023 18:30:01 +0800 Subject: Just use (BS) Label now instead of Body --- Home/Default/Card.ui.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Home/Default/Card.ui.qml') diff --git a/Home/Default/Card.ui.qml b/Home/Default/Card.ui.qml index a87d6cd..72ce3d1 100644 --- a/Home/Default/Card.ui.qml +++ b/Home/Default/Card.ui.qml @@ -86,7 +86,7 @@ Item { Layout.fillWidth: true Layout.bottomMargin: 8 - Lbl.Body { + Label { id: badge anchors.left: parent.left topPadding: 4.463 @@ -94,6 +94,7 @@ Item { rightPadding: 8.287 bottomPadding: 4.463 text: badgeText + wrapMode: Label.Wrap color: badgeColor font.pointSize: Eduport.bsBadgeFontSize background: Rectangle { @@ -139,11 +140,12 @@ Item { } } - Lbl.Body { + Label { text: truncatedText elide: Text.ElideRight maximumLineCount: 2 visible: truncatedVisible + wrapMode: Label.Wrap Layout.fillWidth: true Layout.bottomMargin: 8 } -- cgit v1.2.3