添加富文本渲染

main
karlis 2023-07-06 22:23:15 +08:00
parent db82f35384
commit 29f4da6430
2 changed files with 2 additions and 1 deletions

View File

@ -320,7 +320,7 @@ Item {
uuid: "3" uuid: "3"
title: "File 3" title: "File 3"
isDir: false isDir: false
brief: "This is a test file" brief: "在<em>多</em><em>线</em><em>程</em>编<em>程</em>中,同步是确保<em>多</em>个<em>线</em><em>程</em>能够正确协同工作的关键。"
type: "PPT" type: "PPT"
date: "2020-09-09" date: "2020-09-09"
pageView: 100 pageView: 100

View File

@ -125,6 +125,7 @@ FluArea {
wrapMode: Text.WrapAnywhere wrapMode: Text.WrapAnywhere
elide: Text.ElideRight elide: Text.ElideRight
maximumLineCount: 2 maximumLineCount: 2
textFormat: Text.RichText
} }
RowLayout { RowLayout {
id: infoRow id: infoRow