margins and tabstops

Rob Cozens rcozens at pon.net
Wed Aug 4 13:28:56 EDT 2004


>Create a field with a wide left margin, set the TABS, put some tabs and text
>into it and turn on the "vgrid"...
>
>Et voila, completely "out of sync" :-(
>
>Bug or feature?

Or just the way that it works, Klaus.

I believe tabStops are absolute positions: tabStop pixels from the 
left of the field or the last tabStop.  I have not tried this, but I 
believe you can obtain the same "out of sync"ness by radically 
changing the font size of the field's contents.

You need to account for your margins and font size if you want vGrids 
to change dynamically when margins &/or font size changes.


-- 

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list