> I have a button that resizes a label (custonlabel) via 2 fields labelnewname > and > labelnewtextsize. > > the script is > > on mouseUp > set the text of field CustomLabel to field LabelNewName > set the textsize of field CustomLabel to field LabelNewTextsize > end mouseUp > > I have a large area for the label but if I add too much text or too large a > font, the new label is only partially visible because most is outwith the > boundary of the label field. > > Is there a way to dynamically resize the field "customlabel" to enlarge to > the > size of the text? >
set the width of fld "CustomLabel" to the formattedWidth of fld "CustomLabel" set the height of fld "CustomLabel" to the formattedHeight of fld "CustomLabel" Cheers, Sarah _______________________________________________ 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
