Page 1 of 1

Moving the position of text ?

Posted: Sat Aug 02, 2008 4:34 pm
by peter.s
Hi Guys,

Just when I think I'm getting the hang of it... the simplest thing stalls me!

I have some text in a text field which is just for the user to read (not to interact with) so I've spent some time with the font and layout of the field.

The problem is, one of the characters I use in the first line gets it's head chopped off by the top of the field. So I want to move the text down by about half a line - but I want to do this by script. I don't want to set the margin higher in the Property inspector.

I've tried a few things with no luck... any suggestions?

Cheers,

Posted: Sat Aug 02, 2008 5:49 pm
by Klaus
Hi Peter,

you are almost there:

Code: Select all

...
set the margins of fld "xyz" to XYZ
...
:-)

Check the docs for "margins".


Best

Klaus[/b]

Posted: Sun Aug 03, 2008 4:36 am
by peter.s
Thank you yet again Klaus!

I was close but didn't realise it. Your hint led me in the right direction and it was easily resolved... too easy! :D

Peter