diff options
-rw-r--r-- | Eduport.qrc | 1 | ||||
-rw-r--r-- | Home/Default/Card.ui.qml | 18 | ||||
-rw-r--r-- | Label/FwLight.ui.qml | 11 |
3 files changed, 14 insertions, 16 deletions
diff --git a/Eduport.qrc b/Eduport.qrc index 7d71fad..d38e19d 100644 --- a/Eduport.qrc +++ b/Eduport.qrc @@ -6,6 +6,7 @@ <file>imports/Eduport/Eduport.qml</file> <file>imports/Eduport/qmldir</file> <file>Label/Body.ui.qml</file> + <file>Label/FwLight.ui.qml</file> <file>Label/H6.ui.qml</file> <file>Label/H5.ui.qml</file> <file>Label/H4.ui.qml</file> diff --git a/Home/Default/Card.ui.qml b/Home/Default/Card.ui.qml index 18fb75b..b80cf26 100644 --- a/Home/Default/Card.ui.qml +++ b/Home/Default/Card.ui.qml @@ -185,36 +185,22 @@ Item { Item { Layout.fillWidth: true - Label { + Lbl.FwLight { id: duration text: "15h 30m" anchors { left: parent.left verticalCenter: parent.verticalCenter } - font { - family: Eduport.fwLightFont - .family - weight: Eduport.fwLightFont - .weight - pointSize: Eduport.h6FontSize - } } - Label { + Lbl.FwLight { id: lectures text: "68 lectures" anchors { right: parent.right verticalCenter: parent.verticalCenter } - font { - family: Eduport.fwLightFont - .family - weight: Eduport.fwLightFont - .weight - pointSize: Eduport.h6FontSize - } } } } diff --git a/Label/FwLight.ui.qml b/Label/FwLight.ui.qml new file mode 100644 index 0000000..d88e30d --- /dev/null +++ b/Label/FwLight.ui.qml @@ -0,0 +1,11 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import Eduport 1.4 + +Label { + font { + family: Eduport.fwLightFont.family + weight: Eduport.fwLightFont.weight + pointSize: Eduport.h6FontSize + } +} |