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

misc: avoid overlapping text with TextZoom

GitLab: #779
Change-Id: Ia0b22d12ea6be7a40580ed5508e2aa9fc9482d83
parent 2e9c3e96
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ ItemDelegate { ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment