Skip to main content
kili
Known Participant
April 21, 2016
Answered

ComboBox sizing

  • April 21, 2016
  • 1 reply
  • 441 views

AS3, ComboBox. How to set the height of the dropdown row?

This topic has been closed for replies.
Correct answer kglad

use the cb's dropdown.rowHeight property.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
April 21, 2016

use the cb's dropdown.rowHeight property.

kili
kiliAuthor
Known Participant
April 21, 2016

Thanks. I have a hard time trying to convince myself that I am not stupid.

De: kglad

Enviado el: jueves, 21 de abril de 2016 10:54

Para: Héctor Kilijanski

Asunto: ComboBox sizing

ComboBox sizing

created by kglad <https://forums.adobe.com/people/kglad> in ActionScript 3 - View the full discussion <https://forums.adobe.com/message/8702588#8702588>

kglad
Community Expert
Community Expert
April 21, 2016

if it's any consolation, it took me years to figure out how to control components.

eventually, i realized that components are often combinations of other components.  for example, the combobox is a text input component and a list component.  if you look at the adobe actionscript 3.0 reference, it tells you that when you check combobox:

if you wanted to control the textinput part of the combobox, you use its textField property:

and to figure out what you can do with that, you check the textinput section of the help file.

to control the dropdown part of the combobox, you use the combobox'es dropdown property and then check the list component's api to see what you can do with that.

i can't remember all that stuff (ie, that textField and dropdown are the needed properties), so i have a link to the 3.0 reference on my desktop and i just read/scan to find what i want.