diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 18:30:01 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-12 18:30:01 +0800 |
commit | 2127dd61cda7dcb65b4edd51556158a8e79b0795 (patch) | |
tree | 0ccdd70c8b925b4a298bfcb1402917c986054a1b /Home | |
parent | 89fcfe5ec1073fd374a8bae3d8457bebd96453c8 (diff) |
Just use (BS) Label now instead of Body
Diffstat (limited to 'Home')
-rw-r--r-- | Home/Default.ui.qml | 6 | ||||
-rw-r--r-- | Home/Default/Card.ui.qml | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Home/Default.ui.qml b/Home/Default.ui.qml index 95e0a1f..039063e 100644 --- a/Home/Default.ui.qml +++ b/Home/Default.ui.qml @@ -53,11 +53,12 @@ Flickable { Layout.fillWidth: true } - Lbl.Body { + Label { text: bannerContentText horizontalAlignment: Text.AlignHCenter Layout.fillWidth: true font.pointSize: Eduport.leadFontSize + wrapMode: Label.Wrap } Button { @@ -199,10 +200,11 @@ Flickable { Layout.bottomMargin: 8 } - Lbl.Body { + Label { text: qsTr("Choose from hundreds of courses from specialist organizations") horizontalAlignment: Text.AlignHCenter Layout.fillWidth: true + wrapMode: Label.Wrap } } 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 } |