diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-02-10 17:17:47 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2023-02-10 17:17:47 +0700 |
commit | 6760588babd61c07761845eb44e4013a7ad51543 (patch) | |
tree | f61de5e71e8a4370629f3c58e803c9cf46ae1917 | |
parent | 9797caeb5b48514442d115b7788bbb944a770ea3 (diff) |
declare font family, color, and sizes
-rw-r--r-- | ClassicDetailFlickable.ui.qml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/ClassicDetailFlickable.ui.qml b/ClassicDetailFlickable.ui.qml index 646c9af..7c18753 100644 --- a/ClassicDetailFlickable.ui.qml +++ b/ClassicDetailFlickable.ui.qml @@ -94,25 +94,29 @@ Flickable { id: price text: "$150" font.pixelSize: 32 + font.family: "roboto" } Label { id: originalPrice text: "$350" + color: "#4d000000" font.pixelSize: 14 font.strikeout: true + font.family: "roboto" } Rectangle { id: discountLabel implicitWidth: discount.width implicitHeight: discount.height - radius: 8 + radius: 4 color: "#fd7e14" Label { id: discount text: qsTr("60% off") font.pixelSize: 12 + font.family: "roboto" horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter bottomPadding: 2 @@ -129,6 +133,7 @@ Flickable { Label { text: qsTr("5 days left at this price") font.pixelSize: 14 + font.family: "roboto" } } } @@ -144,7 +149,8 @@ Flickable { text: qsTr("Free trial") contentItem: Text { text: trial.text - font.pixelSize: 15 + font.pixelSize: 14 + font.family: "roboto" color: trial.down ? "#ffffff" : "#066ac9" } @@ -161,7 +167,8 @@ Flickable { text: qsTr("Buy course") contentItem: Text { text: buy.text - font.pixelSize: 15 + font.pixelSize: 14 + font.family: "roboto" color: "#ffffff" } background: Rectangle { |