string underline required

haibo19981984

21-06-2010 06:51:28

I need string underline effect as follows the image "underline.jpg" which is from Word.
Whether is it possible to be added in myGUI or not?

my.name

28-06-2010 10:24:50

now is not possible.

shenjoku

02-10-2011 03:17:34

Is this still not added to the engine? I'm going to need this pretty soon.

Altren

02-10-2011 11:48:27

There is example in TestApp. Markup is small html subset.
hyperText->setCaption(
"<p align='left'><h1>Caption1 left</h1></p>\n"\
"<p align='center'><h2>Caption2 center</h2></p>\n"\
"<p align='right'><h3>Caption3 right</h3></p>\n"\
"<p><s>This is strike.</s></p>\n"\
"<p><s><color value='#FF00FF'>This is strike and colour.</color></s></p>\n"\
"<p><u>This is under.</u></p>\n"\
"<p><color value='#FFFFFF'>This is color.</color></p>\n"\
"<br/>\n"\
"<p><url value='url_text1'>http://www.mygui.info</url></p>\n"\
"<p><i><b><url value='url_text2'>http://www.mygui.info</url></b></i></p>\n"\
"<p>This is image.<img>HandPointerImage</img></p>\n"\
"<p>This is linked image.<url value='url_img'><img>HandPointerImage</img></url></p>\n"\
"<p><b>This is bold text.</b></p>\n"\
"<p><i>This is italic text.</i></p>\n"\
"<p><t/><i><b>This is bold and italic text.</b></i></p>\n"\
"<p><i><b><s><u>This is bold and italic and under and strike text.</u></s></b></i></p>\n"\
"<p float='left'><img width='48' height='48'>HandPointerImage</img>text1 texttext2 text3 text4 texttext5 texttexttexttext6 text7 text8 texttext9 text10 texttext11 text12</p>\n"\
"<p float='right' align='right'><img width='48' height='48'>HandPointerImage</img>text1 texttext2 text3 text4 texttext5 texttexttexttext6 text7 text8 texttext9 text10 texttext11 text12</p>");

shenjoku

03-10-2011 23:56:12

Oh, it uses html tags, nice. Just what I needed, thanks :)