Tab alignment in fields

Fraser Gordon fraser.gordon at livecode.com
Tue Dec 12 18:55:56 EST 2017


On 12/12/2017 17:45, Sannyasin Brahmanathaswami via use-livecode wrote:
> If you set tab stops for a field, Is there a way to set the alignment for one stop/column?
> e.g. have all the numbers in the final column on the right align vertically to the decimal point or left??
Yup - https://livecode.com/resources/api/#livecode_script/tabalign

> I'm pretty sure the answer is no, but just checking if I missed something new…
I added it in LiveCode 7 because we needed most of its mechanisms to
implement right-to-left text properly; getting per-tab-cell alignment
was just a happy bonus ;)

> All the new text style options seem to be for an entire paragraph (aka "line). Nothing in the dictionary related to a "chunk" alignment.

By necessity, tabs have to apply to a whole line - it doesn't really make sense to have them settable at any other granularity. (Though, as always, you can set them on the field as a whole).

Fraser





More information about the Use-livecode mailing list