summary refs log tree commit diff
path: root/resources/qml/TimelineView.qml
diff options
context:
space:
mode:
authorLasath Fernando <devel@lasath.org>2020-04-28 00:38:13 -0700
committerLasath Fernando <devel@lasath.org>2020-04-28 00:38:13 -0700
commit84c5ff0bcbeb5e9c14a97997f8bf8e153f6f5f89 (patch)
tree7b292472fd49cf99b6441783093d9b7000e7f375 /resources/qml/TimelineView.qml
parentShamelessly steal `ScrollHelper.qml` from spectral (diff)
downloadnheko-84c5ff0bcbeb5e9c14a97997f8bf8e153f6f5f89.tar.xz
Fix binding loops for height
Diffstat (limited to 'resources/qml/TimelineView.qml')
-rw-r--r--resources/qml/TimelineView.qml11
1 files changed, 8 insertions, 3 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