Page 1 of 1

Different textAlign for each line in a field?

Posted: Mon Oct 06, 2008 9:20 am
by Garrett
Using a multi line field, is it possible to have separate lines with their own textAlign? or does the whole field have to share the same textAlign?

I tried

Code: Select all

set the textAlign of line 1 of field "editorbox" to center
but yeah, that won't work for me there.

I assume at this point that it's not possible, but as we've seen before, I've missed things in the documents that would otherwise prove me wrong.

Grateful for any help or info.

Thanks,
~Garrett

Posted: Mon Oct 06, 2008 10:25 am
by Mark
Hi Garrett,

This is currently impossible.

Some people have created solutions, though, which use one-pixel width spaces. This might be a way to display text, but editing the text is a big hassle.

You could use a browser object to dispaly text with multiple alignments, but again this is kind of a hassle if you want to be able to edit the text.

Best,

Mark

Posted: Mon Oct 06, 2008 8:27 pm
by Garrett
Alright, thanks a bunch Mark.

Yeah, needs to be editable. Not a major loss, was just trying to allow for more possibilities. :-)

~Garrett