From 21626342f3a3250f69bc5ac19d9ffd5dc1f59b5b Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sun, 6 Oct 2019 18:57:48 -0700 Subject: [PATCH] Fix StateDelegate overflow. --- imports/Spectral/Component/Timeline/StateDelegate.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imports/Spectral/Component/Timeline/StateDelegate.qml b/imports/Spectral/Component/Timeline/StateDelegate.qml index fae7383ae..1ce522a02 100644 --- a/imports/Spectral/Component/Timeline/StateDelegate.qml +++ b/imports/Spectral/Component/Timeline/StateDelegate.qml @@ -9,6 +9,8 @@ import Spectral.Effect 2.0 import Spectral.Setting 0.1 Control { + id: root + padding: 8 contentItem: RowLayout { @@ -62,7 +64,7 @@ Control { Label { Layout.fillWidth: true - Layout.maximumWidth: messageListView.width - authorControl.width - row.spacing + Layout.maximumWidth: messageListView.width - authorControl.width - row.spacing - (root.padding * 2) text: display + " • " + Qt.formatTime(time, "hh:mm AP") color: MPalette.foreground