How to hide underline when assigning link inside a Text element
-
I don't want underline inside a link element.
like that:
!http://i1288.photobucket.com/albums/b485/jiangcaiyang/111_zps3b0e0cde.png!
How to use Text type to hide these underline? Thanks. -
Hi,
You can customize the html <a > tag using style to hide the underline.
Try the following,@
Text {
text: '<a href="http://www.qt-project.org" >Qt Project</a>'
textFormat: Text.RichText
}
@ -
There's style="text-decoration:none" just after the link href="http://www.qt-project.org". Don't know why it is not showing above.
-
Thank you all.
The problem has been resolved.