diff --git a/src/gui/tray/UnifiedSearchResultItem.qml b/src/gui/tray/UnifiedSearchResultItem.qml index 1cf843137..87cd4eace 100644 --- a/src/gui/tray/UnifiedSearchResultItem.qml +++ b/src/gui/tray/UnifiedSearchResultItem.qml @@ -90,6 +90,7 @@ RowLayout { id: unifiedSearchResultTitleText Layout.fillWidth: true text: unifiedSearchResultItemDetails.title.replace(/[\r\n]+/g, " ") + textFormat: Text.PlainText elide: Text.ElideRight font.pixelSize: unifiedSearchResultItemDetails.titleFontSize color: unifiedSearchResultItemDetails.titleColor @@ -98,6 +99,7 @@ RowLayout { id: unifiedSearchResultTextSubline Layout.fillWidth: true text: unifiedSearchResultItemDetails.subline.replace(/[\r\n]+/g, " ") + textFormat: Text.PlainText elide: Text.ElideRight font.pixelSize: unifiedSearchResultItemDetails.sublineFontSize color: unifiedSearchResultItemDetails.sublineColor diff --git a/src/gui/tray/UnifiedSearchResultNothingFound.qml b/src/gui/tray/UnifiedSearchResultNothingFound.qml index cee73c336..35166e81e 100644 --- a/src/gui/tray/UnifiedSearchResultNothingFound.qml +++ b/src/gui/tray/UnifiedSearchResultNothingFound.qml @@ -35,6 +35,7 @@ ColumnLayout { Label { id: unifiedSearchResultsNoResultsLabelDetails text: unifiedSearchResultNothingFoundContainer.text + textFormat: Text.PlainText color: Style.ncTextColor font.pixelSize: Style.topLinePixelSize * 1.25 wrapMode: Text.Wrap diff --git a/src/gui/tray/UnifiedSearchResultSectionItem.qml b/src/gui/tray/UnifiedSearchResultSectionItem.qml index ebc691a9c..e310effa1 100644 --- a/src/gui/tray/UnifiedSearchResultSectionItem.qml +++ b/src/gui/tray/UnifiedSearchResultSectionItem.qml @@ -13,6 +13,7 @@ Label { leftPadding: Style.unifiedSearchResultSectionItemLeftPadding text: section + textFormat: Text.PlainText font.pixelSize: Style.unifiedSearchResultTitleFontSize color: UserModel.currentUser.accentColor diff --git a/src/gui/tray/UserLine.qml b/src/gui/tray/UserLine.qml index 204a7c86e..4127faf84 100644 --- a/src/gui/tray/UserLine.qml +++ b/src/gui/tray/UserLine.qml @@ -77,6 +77,7 @@ AbstractButton { Layout.alignment: Qt.AlignLeft | Qt.AlignBottom verticalAlignment: Text.AlignBottom text: name + textFormat: Text.PlainText elide: Text.ElideRight color: Style.ncTextColor font.pixelSize: Style.topLinePixelSize @@ -95,6 +96,7 @@ AbstractButton { id: emoji visible: model.statusEmoji !== "" text: statusEmoji + textFormat: Text.PlainText topPadding: -Style.accountLabelsSpacing } @@ -103,6 +105,7 @@ AbstractButton { Layout.fillWidth: true visible: model.statusMessage !== "" text: statusMessage + textFormat: Text.PlainText elide: Text.ElideRight color: Style.ncTextColor font.pixelSize: Style.subLinePixelSize @@ -116,6 +119,7 @@ AbstractButton { Layout.alignment: Qt.AlignLeft | Qt.AlignTop verticalAlignment: Text.AlignTop text: server + textFormat: Text.PlainText elide: Text.ElideRight color: Style.ncTextColor font.pixelSize: Style.subLinePixelSize