From 6893cb361e0fd04e0a91a3ba32fc4a0292762931 Mon Sep 17 00:00:00 2001 From: Yaroslav Sidlovsky Date: Sat, 16 Jan 2021 15:04:55 +0300 Subject: [PATCH] Fix displaying user names with bold text Property "font.bold" is ignored for QQC2.Label (see: https://phabricator.kde.org/D14495) --- imports/NeoChat/Component/Timeline/MessageDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Component/Timeline/MessageDelegate.qml b/imports/NeoChat/Component/Timeline/MessageDelegate.qml index 13063a752..9042fda81 100644 --- a/imports/NeoChat/Component/Timeline/MessageDelegate.qml +++ b/imports/NeoChat/Component/Timeline/MessageDelegate.qml @@ -95,7 +95,7 @@ RowLayout { visible: showAuthor && !isEmote text: author.displayName - font.bold: true + font.weight: Font.Bold color: author.color wrapMode: Text.Wrap }