Le 22 févr. 10 à 16:37, Andre Garzia a écrit :

What I'd try would be to use the formattedWidth to check if my text field was too small, if it was, then, I would lower the text size and check again,
rinse and repeat till it fits!

:D

After some iterations your risk to have to buy binoculars ;-o)))

André (with an accent ;-)

On Mon, Feb 22, 2010 at 12:23 PM, Andre.Bisseret <[email protected] >wrote:

Bonjour,

You might catch a glance at a post from Jacque where she shows how to do the reverse (increase the text of a field when it is difficult to read)

http://mail.runrev.com/pipermail/use-revolution/2010-January/132572.html
might try the reverse

Another one, I used in an app. where certain lines of a field where to long
to be read entirely :
The idea is that on mouseDown on a line the tooltip appears showing the
entire line.
(with a trick to keep the toolTip visible for a longer time)

In the script of the field I have :

local tLine
on mouseDown
set the toolTipDelay to 150
showToolTip
wait 5 seconds with messages
set the toolTipDelay to 1
showToolTip
end mouseDown

on showToolTip
put word 2 of the mouseLine into tLine
set the tooltip of me to empty
set the toolTip of me to line tLine of me
end voirToolTip

on mouseUp
set the toolTip of me to empty
set the toolTipDelay to 500
exit to top
end mouseUp

Best regards from Grenoble

André

Le 22 févr. 10 à 12:42, Rolf Kocherhans a écrit :


Hello all

I am looking for an idea to the following problem :-)


I have a non focused label text field of a fixed length, I use it
to display e.g. email adresses.

Sometimes the email address fits into the field, but other
times the email address ist to long, so I only see 80% of it.

I now noticed that the iPhones address application,
automatically reduces the font size to be able to always
display the whole address.

Very clever !

My Label field does not have a monospaced font
I use (Lucida Grande), I have no clue how to replicating this behavior.


Does anybody have an idea how I can do the same with revTalk ?


Cheers
Rolf

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




--
http://www.andregarzia.com All We Do Is Code.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to