The UITextField can be extended, but there is no way to get rid of the
border/padding directly.  If you really want, you should be able override x,
y, width and height of UITextField to fake out the bounds with an offset of
2 in each direction, but overriding those properties can get tricky.  Good
luck if you want to go with that.

- Dan

On 2/26/07, Ciarán <[EMAIL PROTECTED]> wrote:

  Hi All,

I also posted this question to the Adobe boards (albeit in completely
the wrong forum...).

In a UITextField there's some padding around the edge of the component
- just a few pixels of whitespace that clips the font so it doesn't
touch the edge of the box.

How do I get rid of it?

The best example to see this artifact is to resize the height of a
text input to about 18 or so, then try typing in it. With a few
adjustments, it's quite feasible to fit a font in here if it weren't
for the clipping.

I noticed further up the hierarchy things extend from flash.text
(which to my knowledge is non-editable)... so I'm prepared to accept
this may be impossible.

Has anyone done it before?

Best Regards,
Ciarán

Reply via email to