I need to remove the spark combobox down arrow. I am able to do it mx component like this.
youcombobox instant.setStyle(“arrowButtonWidth”, 0);
How we can do it in spark comobobox ?
thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create a custom skin that hides the openButton. This is a required skin part, so you’ll have to set it’s visibility to false.
Use it like this:
You can probably tweak the skin more if needed; changing the “Right” value to 0 on the textInput, for example. It took me more time to launch Flash Builder than it did to write the cod, so I suggest you read through this documentation as a reference on Skinning in the spark architecture works.