summary refs log tree commit diff
diff options
context:
space:
mode:
authorLasath Fernando <devel@lasath.org>2020-04-28 01:10:54 -0700
committerLasath Fernando <devel@lasath.org>2020-04-28 01:10:54 -0700
commit5c57de070e9650752a8866955b4e4411b290ef6d (patch)
treecab607d833fa47d9e63c7a2faf9eae22b5cf76c7
parentFix binding loops for height (diff)
downloadnheko-5c57de070e9650752a8866955b4e4411b290ef6d.tar.xz
Remove commented out code; fix padding for Pill
-rw-r--r--resources/qml/TimelineView.qml2
-rw-r--r--resources/qml/delegates/Pill.qml7
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