mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Ensure more QML text components are rendering things as plain text
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
d39aac0cb8
commit
00fcb6e01d
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -13,6 +13,7 @@ Label {
|
||||
leftPadding: Style.unifiedSearchResultSectionItemLeftPadding
|
||||
|
||||
text: section
|
||||
textFormat: Text.PlainText
|
||||
font.pixelSize: Style.unifiedSearchResultTitleFontSize
|
||||
color: UserModel.currentUser.accentColor
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user