1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-12 19:45:23 +02:00

misc: use Segoe UI Emoji font in the last interaction text for windows

Change-Id: I0a6124ebe6a07fd6c89cfcd267b67ab78817ec5c
This commit is contained in:
Ming Rui Zhang 2020-09-22 11:53:10 -04:00 committed by Andreas Traczyk
parent 063cc58643
commit dd1f579321

View file

@ -122,9 +122,9 @@ ItemDelegate {
}
}
Text {
id: conversationSmartListUserLastInteractionMessage
anchors.left: conversationSmartListUserImage.right
anchors.leftMargin: 16
anchors.bottom: rowUsernameAndLastInteractionDate.bottom
@ -139,6 +139,7 @@ ItemDelegate {
text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : (Draft ? Draft : LastInteraction)
}
font.family: Qt.platform.os === "windows" ? "Segoe UI Emoji" : Qt.application.font.family
font.hintingPreference: Font.PreferNoHinting
text: textMetricsConversationSmartListUserLastInteractionMessage.elidedText
maximumLineCount: 1
@ -146,8 +147,6 @@ ItemDelegate {
color: Draft ? JamiTheme.draftRed : JamiTheme.faddedLastInteractionFontColor
}
background: Rectangle {
id: itemSmartListBackground
color: InCall ? Qt.lighter(JamiTheme.selectionBlue, 1.8) : JamiTheme.backgroundColor