summary refs log tree commit diff
path: root/resources/qml/delegates/Pill.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/delegates/Pill.qml')
-rw-r--r--resources/qml/delegates/Pill.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/delegates/Pill.qml b/resources/qml/delegates/Pill.qml

index a3964f73..8b67c346 100644 --- a/resources/qml/delegates/Pill.qml +++ b/resources/qml/delegates/Pill.qml
@@ -11,9 +11,8 @@ Label { property bool isStateEvent color: Nheko.colors.text horizontalAlignment: Text.AlignHCenter - //height: contentHeight * 1.2 - //width: contentWidth * 1.2 - font.pointSize: isStateEvent? 0.75*fontMetrics.font.pointSize : 1*fontMetrics.font.pointSize + height: Math.round(fontMetrics.height * 1.4) + width: contentWidth * 1.2 background: Rectangle { radius: parent.height / 2