Aw, c'mon it should look like:
<mx:ComboBox>
<mx:Script>
<![CDATA[
override protected function updateDisplayList(w:Number,
h:Number):void
{
super.updateDisplayList(w,h);
textInput.y = ???
}
]]>
</mx:Script>
</mx:ComboBox>
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of williamkusumo
Sent: Wednesday, September 26, 2007 3:02 PM
To: [email protected]
Subject: [flexcoders] Re: Trouble skinning ComboBox that is shorter than
default one...
Hmm, that means I have to extend ComboBox, right? Hmm...that sucks, I
wish there's an easier way.
Thanks!
--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Sure, set its position in updateDisplayList
>
> ________________________________
>
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of williamkusumo
> Sent: Wednesday, September 26, 2007 11:54 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Re: Trouble skinning ComboBox that is shorter
than
> default one...
>
>
>
> Is there a way, maybe, to adjust the postiion of TextInput inside the
> ComboBox, but not the height of it?
>
> Thanks!
>
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com>
<mailto:flexcoders%40yahoogroups.com>
> , "williamkusumo" <williamkusumo@>
> wrote:
> >
> > Calling all skinners!
> >
> > I am skinning a ComboBox using some vector images in Flash and the
> > ComboBox is shorter in height than the default ComboBox. I notice
that
> > I have to explicitly set the height of the skinned ComboBox,
otherwise
> > it'll stretch the skin to its default height.
> >
> > SO, that's fine...annoying that's all. The problem is, after I set
the
> > height, the text on the ComboBox becomes cut-off. Any idea how I
might
> > resolve this issue?
> >
> > Thanks! Appreciate the help!
> >
>