Resize label boundin 3d box
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Fri Jul 8 07:10:09 EDT 2005
Hi,
If I understand correctly, you could have a look at 2 properties:
margins (to specify the distance between the text and the edges of
any field) and formattedWidth (to set the width of a field according
to its content).
Le 8 juil. 05 à 10:40, rev at armbase.com a écrit :
> Hi All
> I have a button with the following script that changes the details
> of a label.
>
> on mouseUp
> set the text of field CustomLabel to field LabelNewName
> set the textsize of field CustomLabel to field LabelNewTextsize
> set the height of field CustomLabel to field LabelNewHeight
> set the width of field CustomLabel to field LabelNewWidth
> end mouseUp
>
> As you can see it is resizeing the label font and heigh/width.
> However the 3D
> box only surrounds the text. I would like the 3D label box to be
> resizeable
> (for uniformity) to the heigt/width and not just surround the
> text, then I can
> incorporate an alignment section into the script.
>
> I cant find anything in the doc's or on the google search-list that
> fits the
> bill.
>
> Anyone know how to make the bounding box bigger than the text? IE
> the size of
> the labelbox?
Best Regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Free plugins and tutorials on my website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
More information about the use-livecode
mailing list