Fit text in a field

Bob Sneidar bobsneidar at iotecdigital.com
Tue Nov 4 10:37:15 EST 2014


If you are wanting a way to automate all this you will probably have to code it yourself. I would suggest using the properties of the object, then having a command in the card or stack that sets the properties of the object and then puts the string into the field. 

Bob S


> On Nov 4, 2014, at 06:01 , Pyyhtiä Christer <christer at mindcrea.com> wrote:
> 
> Is there a known way of fitting a specific (variable from case to case) text string into a field with a definition of the font and min&max text size? The other parameter would be wrap/no-wrap to tell you want just a one-liner. For multi-liner, anyone been coding in hyphenation algorithm (for English) in LC?
> 
> rgds
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list