diff options
author | Lasath Fernando <devel@lasath.org> | 2020-04-28 01:10:54 -0700 |
---|---|---|
committer | Lasath Fernando <devel@lasath.org> | 2020-04-28 01:10:54 -0700 |
commit | 5c57de070e9650752a8866955b4e4411b290ef6d (patch) | |
tree | cab607d833fa47d9e63c7a2faf9eae22b5cf76c7 /resources | |
parent | Fix binding loops for height (diff) | |
download | nheko-5c57de070e9650752a8866955b4e4411b290ef6d.tar.xz |
Remove commented out code; fix padding for Pill
Diffstat (limited to '')
-rw-r--r-- | resources/qml/TimelineView.qml | 2 | ||||
-rw-r--r-- | 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 |