1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-23 08:55:26 +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
Text {
Layout.fillWidth: true
Layout.preferredHeight: 20
Layout.minimumHeight: 20
Layout.alignment: Qt.AlignVCenter
elide: Text.ElideMiddle
text: Title === undefined ? "" : Title
@ -121,7 +121,7 @@ ItemDelegate {
&& LastInteractionDate !== undefined
&& interactive
Layout.fillWidth: true
Layout.preferredHeight: 20
Layout.minimumHeight: 20
Layout.alignment: Qt.AlignTop
// last Interaction date
@ -157,7 +157,7 @@ ItemDelegate {
}
Text {
Layout.fillWidth: true
Layout.preferredHeight: 20
Layout.minimumHeight: 20
Layout.alignment: Qt.AlignVCenter
text: JamiStrings.banned
textFormat: TextEdit.PlainText
@ -190,7 +190,7 @@ ItemDelegate {
Text {
id: callStatusText
Layout.preferredHeight: 20
Layout.minimumHeight: 20
Layout.alignment: Qt.AlignRight
text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : ""
textFormat: TextEdit.PlainText