Posts Tagged height
Quick Tip: Set a ComboBox’s dropdown height with rowCount
Posted by nerdabilly in Flash on August 25, 2011
I looked and looked for a way to change the height of the dropdown list in a ComboBox in AS3. It can be done by setting the rowCount property on the ComboBox.
rowCount defaults to 5, so if you need to make a ComboBox’s list smaller, it’s actually quite easy:
myComboBox.rowCount = 4
That makes sense, but it’s not immediately obvious. I thought I’d put that up here in case anybody else runs into the same thing.
-
-
- ActionScript (4)
- ActionScript 3.0 (3)
- components (4)
- Flash (21)
- Flex (1)
- I hate BigResource (1)
- icons (1)
- intro (1)
- The Documentation Sucks (2)
- Tree (1)
- Uncategorized (6)
- video (1)
- XML (1)
Archives
- August 2011 (1)
- June 2011 (2)
- March 2011 (2)
- April 2010 (2)
- February 2010 (2)
- January 2010 (2)
- December 2009 (1)
- October 2009 (1)
- January 2008 (1)
- November 2007 (1)
- October 2007 (1)
- May 2007 (1)
- March 2007 (3)
- February 2007 (1)
- January 2007 (1)
- November 2006 (2)
- September 2006 (3)
Least-Old Tweets
- @Rroseselavy44 at my last job, there was endless debate over whether Turkey is in Europe or Asia. - 5 days ago
- @drhensjog Im sure places like NY and LA would go apeshit for a Sriracha ice cream truck. - 6 days ago
- @drhensjog given that the modern hip food culture celebrates eccentricity, there's probably a market for that. Food truck? - 6 days ago
- @drhensjog are you putting Sriracha on ice cream? - 6 days ago
- Work cafeteria Swedish meatballs are not as good as IKEA's. #ThingsThatAreObviousToEveryoneButMe #ReasonsWhyIAmAFatbald #fb - 1 week ago
Blog at WordPress.com. Theme: Fusion by digitalnature.