From a62792fa3bea17ae73e6fd4ce3eb6389bf9da566 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Tue, 2 Oct 2018 13:14:11 +0800 Subject: [PATCH] Minor font changes. --- imports/Spectral/Component/Timeline/MessageDelegate.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/imports/Spectral/Component/Timeline/MessageDelegate.qml b/imports/Spectral/Component/Timeline/MessageDelegate.qml index 1c9a70b..638a843 100644 --- a/imports/Spectral/Component/Timeline/MessageDelegate.qml +++ b/imports/Spectral/Component/Timeline/MessageDelegate.qml @@ -61,6 +61,8 @@ RowLayout { spacing: 0 AutoLabel { + id: authorLabel + visible: messageRow.avatarVisible text: author.displayName Material.foreground: Material.accent @@ -83,7 +85,8 @@ RowLayout { visible: isText color: highlighted ? "white": Material.foreground - font: Qt.font({pointSize: 10}) + font.family: authorLabel.font.family + font.pointSize: 10 selectByMouse: true readOnly: true wrapMode: Label.Wrap