From c5d373e8f188a83b2c31cc0e7777a28c1877f123 Mon Sep 17 00:00:00 2001 From: Lasath Fernando Date: Wed, 29 Apr 2020 02:14:43 -0700 Subject: Address CR comments --- resources/qml/delegates/Pill.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'resources/qml/delegates') diff --git a/resources/qml/delegates/Pill.qml b/resources/qml/delegates/Pill.qml index a912b9b1..c4260c33 100644 --- a/resources/qml/delegates/Pill.qml +++ b/resources/qml/delegates/Pill.qml @@ -5,10 +5,8 @@ Label { color: colors.brightText horizontalAlignment: Text.AlignHCenter - leftPadding: 24 - rightPadding: 24 - topPadding: 8 - bottomPadding: 8 + height: fontMetrics.height * 1.4 + width: contentWidth * 1.2 background: Rectangle { radius: parent.height / 2 -- cgit 1.5.1