summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2024-01-11 11:30:19 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2024-01-11 11:30:19 +0800
commitf785a82079d8c57a88fd537cab99865de8ee20fd (patch)
tree38979ed5da7e25b0bc1dad2d383d7462c647a916
parent34ee6007e004eb6300d800023382f66590944e5e (diff)
Course list item labels are Bootstrap heading 6
That's why the colour and font settings were removed in the previous commit.
-rw-r--r--Student/Dashboard/CourseListItem.ui.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Student/Dashboard/CourseListItem.ui.qml b/Student/Dashboard/CourseListItem.ui.qml
index 2102ab3..fb69782 100644
--- a/Student/Dashboard/CourseListItem.ui.qml
+++ b/Student/Dashboard/CourseListItem.ui.qml
@@ -2,6 +2,7 @@ import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtGraphicalEffects 1.15
+import Bootstrap 5.3
RowLayout {
property alias courseTitle: courseTitle
@@ -39,6 +40,7 @@ RowLayout {
id: courseTitle
text: "Building Scalable APIs with GraphQL"
Layout.fillWidth: true
+ Bootstrap.heading: 6
}
RowLayout { // So the Bar and % of value side by side
@@ -55,6 +57,7 @@ RowLayout {
Label{
id: courseProgressPercentage
text: Math.round(completedLectures / totalLectures * 100) + "%"
+ Bootstrap.heading: 6
// horizontalAlignment: Text.AlignRight
// Layout.fillWidth: true
}