0%

QML

设置RichText以使文本中的样式生效

1
2
3
4
5
6
Label {
textFormat: Text.RichText;
text: "<style>a:link { color: " + Theme.highlightColor + "; }</style>" +
"<a href=https://together.jolla.com/'>Jolla2Gether</a>";
}
}