Re: Set font dynamically to fit text

2019-10-13 Thread doc hawk via use-livecode
On Oct 12, 2019, at 8:05 PM, Brian Milby via use-livecode wrote: > > You probably could get close with math but line breaks would not be uniform > and will introduce variability. You could probably get it down to 2 or 3 > checks. This. Font scaling itself is nonlinear enough, but the way

Re: launch & quit

2019-10-13 Thread Robert Brenstein via use-livecode
I’d guess that quit command triggers some closeXxxx handlers to run and one causes the delay. The duration of delay sounds a bit like network timeout. Have you tried to switch off messages before quit? On Oct 12, 2019, at 13:28, Paul Dupuis via use-livecode wrote: I have a stand alone with

Re: launch & quit

2019-10-13 Thread Paul Hibbert via use-livecode
I’ve used quit before on Mac with no problems, so I tried a few tests and it still seems to work fine for me (even with your mismatch variable tError/tErrormEssage). I tried both with and without generating a deliberate error and it quit straight away, so I’d guess there may be something else

Re: Set font dynamically to fit text

2019-10-13 Thread Dan Friedman via use-livecode
Sannyasin, I've been doing this for years. Works well... on doShrinkToFit lFldID,startingSize,minSize set the textSize of lFldID to startingSize repeat until the formattedHeight of lFldID <= the height of lFldID set the textSize of lFldID to (the textSize of lFldID - 1) if the