summaryrefslogtreecommitdiff
path: root/ClassicDetailFlickable.ui.qml
diff options
context:
space:
mode:
authorAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-10 16:16:10 +0700
committerAnatasof Wirapraja <anatasof.wirapraja@gmail.com>2023-02-10 16:16:10 +0700
commit1ff2be9b11f0581c977cf43681de41f27a9da6d9 (patch)
treec5e66e9121c95e95b452aee66537c8dc8d8793cc /ClassicDetailFlickable.ui.qml
parent7ba55f912c8c2308eaa3c92e69089ad538f776fb (diff)
font sizing and padding
Diffstat (limited to 'ClassicDetailFlickable.ui.qml')
-rw-r--r--ClassicDetailFlickable.ui.qml15
1 files changed, 9 insertions, 6 deletions
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
}
}
}