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.
Text Formatting
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Text Formatting
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 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
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
I would not call it a bug, it is more flexible this way.
Kind regards
Bernd
-
- Livecode Opensource Backer
- Posts: 8
- Joined: Fri Jul 15, 2011 1:27 am
Re: Text Formatting
Thanks so much!