Using the firstIndent property on a field, I can make the start of a paragraph indent relative to the standard margin, so that if the line wraps, the continuation starts to the left of the first character on the line above.
But if I set a negative value for firstIndent, it has no effect.
Is there a way to achieve the effect that the line starts to the left, but if it wraps, subsequent lines are indented over to the right?
You can do that by setting a value for 'leftindent", and negative value for 'firstindent' (note you need to specify a line number when setting leftindent)
set the leftIndent of line 1 of field "A" to 200
set the firstIndent of field "A" to -50
Note that the "leftindent" property of lines in a field was only introduced in LiveCode version 5.5, and that as of LC 5.5 the "firstIndent" property can now be applied to lines as well as entire fields:
set the firstIndent of line 2 of field "xyzzy" to -10
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With