Page 1 of 1

Text Formatting

Posted: Mon Aug 15, 2011 8:55 pm
by justintime
I am trying to get a text field to display a mix of plain and bold text while being entirely underlined. This should resemble a google search results page where each result is underlined and the search terms are bold. Right now my text fields are either or. I can select specific words to bold, but the underline disappears.

It would appear there is a bug that will not allow for bold underlined text.

Thanks in advance for any help.

Re: Text Formatting

Posted: Mon Aug 15, 2011 9:16 pm
by bn
Hi justintime,

if you set the textstyle of a field to underline then all the text takes that property. If you then set the textstyle of a word to bold this word takes the property "bold" and overrides the textstyle of the field. You can however say

Code: Select all

 set the textstyle of word 4 of field 1 to bold, underline
this will set the textstyle of word 4 to bold and underline, in your particular case in line with the rest of the text.
I would not call it a bug, it is more flexible this way.

Kind regards

Bernd

Re: Text Formatting

Posted: Wed Aug 17, 2011 2:45 pm
by justintime
Thanks so much!