I am searching here in forum and into manual but I can’t find this information anywhere, so I am not sure if it's supported or not.
So I create this element.
CODE
var textparagraph = new KONtx.element.Text({
label: 'The color of this –word- is red.',
styles: {
color: '#FFFFFF',
fontSize: KONtx.utility.scale(12),
}
}).appendTo(this);
So what I want to do. I can’t find how to make whole paragraph to be with white color and the word “-word-” to be red.
Like this:
QUOTE
The color of this –word- is red.
Is this possible? Also how can I set different styles into one text, for example bold, italic etc.?
At last I think that I found one bug, I don’t know if is bug of emulator (my wdk version is 0.9.7.6 and I have installed on Ubuntu 9.10) or bug in OEM TV’s but I report it here to check it.
I can’t set the text align into styles as justify like this
The result of this alignment is the left alignment.
Thanks