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