mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-17 20:08:28 +00:00
fix rich text display
This commit is contained in:
parent
2b616b7ef1
commit
304f84d852
3 changed files with 4 additions and 1 deletions
|
|
@ -244,6 +244,7 @@ ListView {
|
|||
maximumLineCount: 1
|
||||
visible: !remoteComposingInfo.visible
|
||||
text: modelData ? modelData.core.lastMessageText : ""
|
||||
textFormat: Text.AutoText
|
||||
color: DefaultStyle.main2_400
|
||||
font {
|
||||
pixelSize: Typography.p1.pixelSize
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ TextEdit {
|
|||
contentGui.core.setSearchedTextPart(searchedTextPart)
|
||||
}
|
||||
|
||||
textFormat: Text.RichText // To supports links and imgs.
|
||||
textFormat: Text.AutoText // To supports links and imgs.
|
||||
wrapMode: TextEdit.Wrap
|
||||
|
||||
onLinkActivated: (link) => {
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ LoginLayout {
|
|||
Text {
|
||||
id: title
|
||||
text: modelData.title
|
||||
textFormat: Text.AutoText
|
||||
font {
|
||||
pixelSize: Typography.h2.pixelSize
|
||||
weight: Typography.h2.weight
|
||||
|
|
@ -105,6 +106,7 @@ LoginLayout {
|
|||
id: txt
|
||||
Layout.maximumWidth: Utils.getSizeWithScreenRatio(361)
|
||||
wrapMode: Text.WordWrap
|
||||
textFormat: Text.AutoText
|
||||
font {
|
||||
pixelSize: Typography.p1.pixelSize
|
||||
weight: Typography.p1.weight
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue