1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-21 23:33:58 +02:00

misc: avoid overlapping text with TextZoom

GitLab: #779
Change-Id: Ia0b22d12ea6be7a40580ed5508e2aa9fc9482d83
This commit is contained in:
Sébastien Blin 2022-07-30 18:09:20 -04:00
parent 2e9c3e9612
commit b2256f7d18

View file

@ -106,7 +106,7 @@ ItemDelegate {
// best name // best name
Text { Text {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 20 Layout.minimumHeight: 20
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
elide: Text.ElideMiddle elide: Text.ElideMiddle
text: Title === undefined ? "" : Title text: Title === undefined ? "" : Title
@ -121,7 +121,7 @@ ItemDelegate {
&& LastInteractionDate !== undefined && LastInteractionDate !== undefined
&& interactive && interactive
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 20 Layout.minimumHeight: 20
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
// last Interaction date // last Interaction date
@ -157,7 +157,7 @@ ItemDelegate {
} }
Text { Text {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 20 Layout.minimumHeight: 20
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
text: JamiStrings.banned text: JamiStrings.banned
textFormat: TextEdit.PlainText textFormat: TextEdit.PlainText
@ -190,7 +190,7 @@ ItemDelegate {
Text { Text {
id: callStatusText id: callStatusText
Layout.preferredHeight: 20 Layout.minimumHeight: 20
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : "" text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : ""
textFormat: TextEdit.PlainText textFormat: TextEdit.PlainText