Page 1 of 1

Justifying text in a text field?

Posted: Fri Aug 01, 2008 9:36 am
by peter.s
Hi there,

Is there any way to fully justify text in a text field?

The text will be in a standard text field on one card, and on another card in a scrolling text field. When I put the text into the "Contents" window of the property inspector - then select "Text Format", my choices here are not many.

I can justify to the right, centre or left - but not fully justify (so the right and the left of the text are justified). Is there a way to do this in a script?

Something like: set the textAlign of field "MyText" to left and right

I know this doesn't work, but am I close?

P

Posted: Fri Aug 01, 2008 10:38 am
by bn
Hi Peter,

apparently there is no way to fully justify text natively in Revolution.
It has been discussed on the list several times and there are workarounds.

you might want to look at

http://thread.gmane.org/gmane.comp.ide. ... cus=100322

look also at the whole thread
may be it gives you an idea how to start

I found it by clicking on documentation in Rev. There you have an option search. Click on Gmane. Search for 'justify text'
The search option is one of the hidden gems of Revolution :wink:

There are people here that know a lot more about text formatting and I shall be silent...

best regards

Bernd

Posted: Sat Aug 02, 2008 6:46 am
by peter.s
Thanks Bernd for this info. I read the whole thread and decided (considering my limited scripting skills) I don't really want to go there just yet.

I am happy to stick with unjustified text for the time being and keep my fingers crossed for a text editing update in Rev - or else revisit the issue again for my next project (when hopefully I'm more confident with my scripting).

Cheers,

P