0 Replies Latest reply on Nov 7, 2008 5:54 PM by adudas

    Combobox Dropdownmenu Style

    adudas Level 1
      So I'm trying to add a custom skin to a combobox but it's not working. I have a default skin in my css, class named VScrollBar. Thing is this style doesn't work well with my combobox so I made a new style in my css called .VScrollbarAlt. I then in the mxml for the combobox set my "dropDownStylename" property to my new class but it doesn't work. I tried applying the class through code to combobox.setStyle("dropDownStylename", "VScrollbarAlt") but it still doesn't work. I then went even further and tried combobox.dropdown.setStyle("verticalScrollbarStyleName", VScrollbarAlt) but that didn't work either. Any ideas what could be wrong? Seems it's stuck using the default style.