You can set the paddingLeft and paddingRight attributes inline to
adjust to your liking. 

<mx:ComboBox x="443" y="230" paddingLeft="-3" paddingRight="0">
                <mx:dataProvider>
                        <mx:Array>
                                <mx:Object label="Item 1"/>
                                <mx:Object label="Item 2"/>
                                <mx:Object label="Item 3"/>
                                <mx:Object label="Item 4"/>
                                <mx:Object label="Item 5"/>
                                <mx:Object label="Item 6"/>
                        </mx:Array>
                </mx:dataProvider>
        </mx:ComboBox>

Or do it via CSS:

ComboBox {
paddingLeft:0;
paddingRight:0;
}

Juan
scalenine.com


--- In flexcoders@yahoogroups.com, "alex steel" <[EMAIL PROTECTED]> wrote:
>
> Hi to you all,
> 
> I recently started developing in Flex, mostly because of Apollo and AS3 
> I am very good at Flash and AS2
> 
> 
> anyway my problem is ComboBox padding
> text is very wide from sides by default which I really don't need
> in Flex Style explorer there is no example how to use padding for
> combobox 
> I see it's there for Text in examples so please if you can give me an
> example on padding for ComboBox 
> I admin I didn't try to use CSS at all I've asked here first
>


Reply via email to