Does anyone know how I can get my combobox to display 2 lines as opposed to only one line.  I can display 2 lines in the dropdown area, but not in the main combobox display.

 

Here is what I have so far:

 

public function initRenderer():void

{

var myRenderer:ClassFactory = new ClassFactory(mx.controls.Text);

            myRenderer.properties = {maxHeight:60};

            this.cb.itemRenderer = myRenderer;

}

 

<mx:ComboBox id="cb" fontSize="18" maxWidth="{this.width}"

            dataProvider="{cbData}"

            labelField="{cbLabelField}"

            selectedIndex="{getSelectedIndex()}"

            change="comboBoxChange(cb.selectedItem)"/>

 

Thanks in advance,

 

Michael

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to