From 5c57de070e9650752a8866955b4e4411b290ef6d Mon Sep 17 00:00:00 2001 From: Lasath Fernando Date: Tue, 28 Apr 2020 01:10:54 -0700 Subject: [PATCH] Remove commented out code; fix padding for Pill --- resources/qml/TimelineView.qml | 2 -- resources/qml/delegates/Pill.qml | 7 ++++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 45d9c3f2..7a1bba1d 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -208,8 +208,6 @@ Page { text: chat.model.formatDateSeparator(modelData.timestamp) color: colors.brightText -// height: contentHeight * 1.2 -// width: contentWidth * 1.2 leftPadding: 24 rightPadding: 24 topPadding: 8 diff --git a/resources/qml/delegates/Pill.qml b/resources/qml/delegates/Pill.qml index 65a4aedf..a912b9b1 100644 --- a/resources/qml/delegates/Pill.qml +++ b/resources/qml/delegates/Pill.qml @@ -5,9 +5,10 @@ Label { color: colors.brightText horizontalAlignment: Text.AlignHCenter -// height: contentHeight * 1.2 -// width: contentWidth * 1.2 - padding: 12 + leftPadding: 24 + rightPadding: 24 + topPadding: 8 + bottomPadding: 8 background: Rectangle { radius: parent.height / 2