Resize label boundin 3d box

rev at armbase.com rev at armbase.com
Fri Jul 8 10:49:41 EDT 2005


Quoting Mark Smith <mark at maseurope.net>:

Hi Mark

> If you want a big label field with the text centered both horizontally
> and vertically, it might be easier to experiment with using a button.
>

Yes this is exactly what I am going to do. I'll us eone for the label and a
plain button for a 3D label.

Cheers
Bob

>
> Mark
>
> On 8 Jul 2005, at 09:40, rev at armbase.com wrote:
>
> > 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?
> >
> > All the best
> > bob
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>







More information about the use-livecode mailing list