From 1ff2be9b11f0581c977cf43681de41f27a9da6d9 Mon Sep 17 00:00:00 2001 From: Anatasof Wirapraja Date: Fri, 10 Feb 2023 16:16:10 +0700 Subject: font sizing and padding --- ClassicDetailFlickable.ui.qml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'ClassicDetailFlickable.ui.qml') diff --git a/ClassicDetailFlickable.ui.qml b/ClassicDetailFlickable.ui.qml index 76d8e57..646c9af 100644 --- a/ClassicDetailFlickable.ui.qml +++ b/ClassicDetailFlickable.ui.qml @@ -93,13 +93,13 @@ Flickable { Label { id: price text: "$150" - font.pixelSize: 21 + font.pixelSize: 32 } Label { id: originalPrice text: "$350" - font.pixelSize: 15 + font.pixelSize: 14 font.strikeout: true } @@ -108,14 +108,17 @@ Flickable { implicitWidth: discount.width implicitHeight: discount.height radius: 8 - color: "#6c757d" + color: "#fd7e14" Label { id: discount text: qsTr("60% off") - font.pixelSize: 14 + font.pixelSize: 12 horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - padding: 4 + bottomPadding: 2 + topPadding: 2 + rightPadding: 8 + leftPadding: 8 } } } @@ -125,7 +128,7 @@ Flickable { Label { text: qsTr("5 days left at this price") - font.pixelSize: 15 + font.pixelSize: 14 } } } -- cgit v1.2.3