在字段上使用firstIndent
属性,我可以使段落的开始相对于标准边距缩进,这样如果换行,则继续从行的第一个字符的左边开始上方。
但如果我为firstIndent
设置了负值,则无效。
有没有办法达到线条从左边开始的效果,但是如果它换行,后续的线条会缩进到右边?
答案 0 :(得分:3)
您可以通过为'leftindent'设置值,为'firstindent'设置负值 (注意,在设置leftindent时需要指定行号)
set the leftIndent of line 1 of field "A" to 200
set the firstIndent of field "A" to -50
答案 1 :(得分:1)
请注意,字段中行的“leftindent”属性仅在LiveCode版本5.5中引入,而从LC 5.5开始,“firstIndent”属性现在可以应用于行和整个字段:
set the firstIndent of line 2 of field "xyzzy" to -10