Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic text field doesnt resize to fit text properly 1

Status
Not open for further replies.

freakyjas

Programmer
May 12, 2003
10
NZ
Im using a dynamic text field and populate it with a variable and some standard text (e.g. message1 + "hope youre having a great day") however it cuts off some of the text - how can i get this field to resize to fit the text? thanks

thanks

freakyjas
 
Have you looked at TextField.autoSize in the AS dictionary?

Regards,

cubalibre2.gif
 
This is a good default setting for a textfield with instance name 'field':

field.multiline = true;
field.autoSize = "left";

... there are several options beyond 'left' but at least everything should be visible at this setting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top