diff options
-rw-r--r-- | resources/qml/TimelineView.qml | 11 | ||||
-rw-r--r-- | resources/qml/delegates/Pill.qml | 6 |
2 files changed, 12 insertions, 5 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index ce8ad62c..45d9c3f2 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -208,9 +208,14 @@ Page { text: chat.model.formatDateSeparator(modelData.timestamp) color: colors.brightText - height: contentHeight * 1.2 - width: contentWidth * 1.2 - horizontalAlignment: Text.AlignHCenter +// height: contentHeight * 1.2 +// width: contentWidth * 1.2 + leftPadding: 24 + rightPadding: 24 + topPadding: 8 + bottomPadding: 8 + + horizontalAlignment: Text.AlignHCenter background: Rectangle { radius: parent.height / 2 color: colors.dark diff --git a/resources/qml/delegates/Pill.qml b/resources/qml/delegates/Pill.qml index 27985b58..65a4aedf 100644 --- a/resources/qml/delegates/Pill.qml +++ b/resources/qml/delegates/Pill.qml @@ -5,8 +5,10 @@ Label { color: colors.brightText horizontalAlignment: Text.AlignHCenter - height: contentHeight * 1.2 - width: contentWidth * 1.2 +// height: contentHeight * 1.2 +// width: contentWidth * 1.2 + padding: 12 + background: Rectangle { radius: parent.height / 2 color: colors.dark |