No! Thís is thé dumbest question ever: resizing texfields

:wink:

I’ve been working on some various sized dynamic textfields. I have done the smallest field first (they’re inside a mc), I duplicate the mc…open it, select the textfield and change the dimensions in the info panel.

BUT for some reason not only the dimensions of the field has changed but also the font has changed - the settings are exactly the same. (_sans, 12 px, dynamic textfield, alias text).

The strange thing is, it doesn’t appear to be all the time when I resize the textfields. So I must have done something differently along the way & can’t see what I’m doing wrong! It’s driving me nuts!

So: What is the good way to resize a text field without changing the font inside it ?

Oh, and YES I know I can 2x click the text field and drag the little square on the bottom right to resize it without changing the font, BUT that’s not what I mean: I want to change it to a certain specific size, not just drag & hope it’ll be okay.

Really annoying - thanks :slight_smile:

Hi, :rabbit:

No need to annoying. Look for TextField.class in Flash Help.
You can make your textFields width dynamic without affecting your font size and style. :slight_smile:

TextField._width - helps u to set the width u need to keep for ur textField.
TextField._autoSize - as the name says makes the size auto as per the content in it.


aShIsH

Ah, perfect, I was so confused about the type tool and resize tool that I forgot to do it programatically, thanks :slight_smile: