Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 440

Getting Started with LiveCode - Complete Beginners • Fitting Text: the spades and shovels solution

$
0
0
*Richmond was on holiday for 9 days and is somewhat out of the loop*

There was a recent post (which I now cannot find) where some people were being "very clever' to ensure that text in a field was 100% visible on whatever machine and whatever operating system it was displayed on.

As Mother (rising 95) has not had a gardener for about 2 years, while up on a wall chewing my way through about 18 inches of entangled ivy I was meditating on that thread, and now I am unsafely back in Bulgaria ...

Anyway: goofy solution, for whatever it's worth, in a cardScript:

CODE:

on preOpenCard   put the formattedWidth of fld "ff" into WIDD   put the formattedHeight of fld "ff" into HITE   set the width of fld "ff" to WIDD   set the height of fld "ff" to HITE   set the location of fld "ff" to 300,200end preOpenCard[/code}-[attachment=1]Screen Shot 2024-08-14 at 12.08.39 pm.png[/attachment]
Text Accommodater.livecode.zip

Screen Shot 2024-08-14 at 12.08.39 pm.png

Statistics: Posted by richmond62 — Wed Aug 14, 2024 10:10 am



Viewing all articles
Browse latest Browse all 440

Trending Articles