summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Course/Grid/Minimal.ui.qml4
-rw-r--r--Home/Default/Card.ui.qml2
2 files changed, 4 insertions, 2 deletions
diff --git a/Course/Grid/Minimal.ui.qml b/Course/Grid/Minimal.ui.qml
index fe7439f..a4ad119 100644
--- a/Course/Grid/Minimal.ui.qml
+++ b/Course/Grid/Minimal.ui.qml
@@ -42,7 +42,7 @@ Flickable {
: main.width < 992
? width / 3
: width / 4
- cellHeight: cellWidth * 400 / 533 + 273.35
+ cellHeight: cellWidth * 400 / 533 + 220.35
model: ListModel {
ListElement {
image: "https://eduport.webestica.com/assets/images/courses/4by3/08.jpg"
@@ -162,7 +162,7 @@ Flickable {
badgeBackgroundColor: levelBackgroundColor
favorite.checked: liked
titleText: title
- truncatedText: ""
+ truncatedVisible: false
rating: rate
}
}
diff --git a/Home/Default/Card.ui.qml b/Home/Default/Card.ui.qml
index 4f2e309..a87d6cd 100644
--- a/Home/Default/Card.ui.qml
+++ b/Home/Default/Card.ui.qml
@@ -21,6 +21,7 @@ Item {
property string titleText: "Build Responsive Websites with HTML"
property alias titleArea: titleArea
property string truncatedText: "Far advanced settling say finished raillery. Offered chiefly farther"
+ property bool truncatedVisible: true
property real rating: 4.0
DrpShdw.Box {
@@ -142,6 +143,7 @@ Item {
text: truncatedText
elide: Text.ElideRight
maximumLineCount: 2
+ visible: truncatedVisible
Layout.fillWidth: true
Layout.bottomMargin: 8
}