you can get the width and height from
not sure about the rowcount, maybe from the layout of the dropdown you can get rowheight and use that. I'll have a look and see what the go is.
trace(myCombobox.dropDown); // return null
I get a 'null object reference' when trying myCombobox.dropDown.width;
Are there other ways to access dropDown ?
myCombo.dropDown is null always.. pls guide me..
I think the dropDown is null when the ComboBox is closed, because then there is no dropDown list.
So you may be able listen the "open" event and set the dropDown dimensions ?
Love it or hate it, Spark has its quirks.
public function DropDownList()
protected function onOpen(event:DropDownEvent):void
public var dropdownWidth:int;