Skip to content
Snippets Groups Projects
Commit d55b7ecb authored by Sébastien Blin's avatar Sébastien Blin
Browse files

misc: avoid unwanted richtext

GitLab: #784
Change-Id: I0dde4ef53d7b2471ff0aa9cba1bee463542d0573
parent 2077041c
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,8 @@ Label { ...@@ -131,6 +131,8 @@ Label {
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
text: CurrentAccount.bestName text: CurrentAccount.bestName
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.textFontSize font.pointSize: JamiTheme.textFontSize
color: JamiTheme.textColor color: JamiTheme.textColor
elide: Text.ElideRight elide: Text.ElideRight
...@@ -145,6 +147,8 @@ Label { ...@@ -145,6 +147,8 @@ Label {
visible: text.length && text !== bestNameText.text visible: text.length && text !== bestNameText.text
text: CurrentAccount.bestId text: CurrentAccount.bestId
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.textFontSize font.pointSize: JamiTheme.textFontSize
color: JamiTheme.faddedLastInteractionFontColor color: JamiTheme.faddedLastInteractionFontColor
elide: Text.ElideRight elide: Text.ElideRight
......
...@@ -84,6 +84,7 @@ Popup { ...@@ -84,6 +84,7 @@ Popup {
Text { Text {
anchors.centerIn: parent anchors.centerIn: parent
text: JamiStrings.addAccount + "+" text: JamiStrings.addAccount + "+"
textFormat: TextEdit.PlainText
color: JamiTheme.textColor color: JamiTheme.textColor
font.pointSize: JamiTheme.textFontSize font.pointSize: JamiTheme.textFontSize
} }
......
...@@ -70,6 +70,8 @@ ItemDelegate { ...@@ -70,6 +70,8 @@ ItemDelegate {
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
text: Alias text: Alias
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.textFontSize font.pointSize: JamiTheme.textFontSize
color: JamiTheme.textColor color: JamiTheme.textColor
elide: Text.ElideRight elide: Text.ElideRight
...@@ -82,6 +84,8 @@ ItemDelegate { ...@@ -82,6 +84,8 @@ ItemDelegate {
visible: text.length && Alias != Username visible: text.length && Alias != Username
text: Username text: Username
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.textFontSize font.pointSize: JamiTheme.textFontSize
color: JamiTheme.faddedLastInteractionFontColor color: JamiTheme.faddedLastInteractionFontColor
elide: Text.ElideRight elide: Text.ElideRight
......
...@@ -110,6 +110,7 @@ ItemDelegate { ...@@ -110,6 +110,7 @@ ItemDelegate {
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
elide: Text.ElideMiddle elide: Text.ElideMiddle
text: Title === undefined ? "" : Title text: Title === undefined ? "" : Title
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.smartlistItemFontSize font.pointSize: JamiTheme.smartlistItemFontSize
font.weight: UnreadMessagesCount ? Font.Bold : Font.Normal font.weight: UnreadMessagesCount ? Font.Bold : Font.Normal
color: JamiTheme.textColor color: JamiTheme.textColor
...@@ -127,6 +128,7 @@ ItemDelegate { ...@@ -127,6 +128,7 @@ ItemDelegate {
Text { Text {
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
text: LastInteractionDate === undefined ? "" : LastInteractionDate text: LastInteractionDate === undefined ? "" : LastInteractionDate
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.smartlistItemInfoFontSize font.pointSize: JamiTheme.smartlistItemInfoFontSize
font.weight: UnreadMessagesCount ? Font.DemiBold : Font.Normal font.weight: UnreadMessagesCount ? Font.DemiBold : Font.Normal
color: JamiTheme.textColor color: JamiTheme.textColor
...@@ -140,6 +142,7 @@ ItemDelegate { ...@@ -140,6 +142,7 @@ ItemDelegate {
text: Draft ? text: Draft ?
Draft : Draft :
(LastInteraction === undefined ? "" : LastInteraction) (LastInteraction === undefined ? "" : LastInteraction)
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.smartlistItemInfoFontSize font.pointSize: JamiTheme.smartlistItemInfoFontSize
font.weight: UnreadMessagesCount ? Font.Normal : Font.Light font.weight: UnreadMessagesCount ? Font.Normal : Font.Light
font.hintingPreference: Font.PreferNoHinting font.hintingPreference: Font.PreferNoHinting
...@@ -157,6 +160,7 @@ ItemDelegate { ...@@ -157,6 +160,7 @@ ItemDelegate {
Layout.preferredHeight: 20 Layout.preferredHeight: 20
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
text: JamiStrings.banned text: JamiStrings.banned
textFormat: TextEdit.PlainText
visible: IsBanned visible: IsBanned
font.pointSize: JamiTheme.smartlistItemFontSize font.pointSize: JamiTheme.smartlistItemFontSize
font.weight: Font.Bold font.weight: Font.Bold
...@@ -189,6 +193,7 @@ ItemDelegate { ...@@ -189,6 +193,7 @@ ItemDelegate {
Layout.preferredHeight: 20 Layout.preferredHeight: 20
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : "" text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : ""
textFormat: TextEdit.PlainText
font.pointSize: JamiTheme.smartlistItemInfoFontSize font.pointSize: JamiTheme.smartlistItemInfoFontSize
font.weight: Font.Medium font.weight: Font.Medium
color: JamiTheme.textColor color: JamiTheme.textColor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment