summary refs log tree commit diff
path: root/resources/qml/delegates
diff options
context:
space:
mode:
authorLasath Fernando <devel@lasath.org>2020-04-29 02:14:43 -0700
committerLasath Fernando <devel@lasath.org>2020-04-29 02:14:43 -0700
commitc5d373e8f188a83b2c31cc0e7777a28c1877f123 (patch)
tree9c1ca2de0f44035480a8e4a05044e3a92cb36185 /resources/qml/delegates
parentRemove commented out code; fix padding for Pill (diff)
downloadnheko-c5d373e8f188a83b2c31cc0e7777a28c1877f123.tar.xz
Address CR comments
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r--resources/qml/delegates/Pill.qml6
1 files changed, 2 insertions, 4 deletions
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