1 Reply Latest reply on May 13, 2011 7:39 AM by saisri2k2

    How to reduce row height of combobox dropdown item renderer? (flex3)

    vijay.vanecha

      Hi guys,

       

      Pls help me on this.

      How to reduce row height of combobox dropdown item renderer in flex 3?

      please see attached image for more understanding.

       

      Regards,

      Vijay


      comboBox.jpg

        • 1. Re: How to reduce row height of combobox dropdown item renderer? (flex3)
          saisri2k2 Level 4

          package components
          {
               import mx.controls.ComboBox;
               import mx.events.FlexEvent;
               
               public class ComboBoxExample extends ComboBox
               {
                    public function ComboBoxExample()
                    {
                         super();
                         this.addEventListener(FlexEvent.CREATION_COMPLETE,onCreated);
                    }
                    
                    private function onCreated(e:FlexEvent):void{
                         this.dropdown.rowHeight = 4;
                    }
               }
          }
          

           

          Use of a custom combobox like this in your application.