Flex 3 ComboBox skin, limiting text width
Posted
by Rhys Causey
on Stack Overflow
See other posts from Stack Overflow
or by Rhys Causey
Published on 2010-06-10T16:57:44Z
Indexed on
2010/06/10
17:02 UTC
Read the original article
Hit count: 520
I've created a ComboBox skin by extending mx.skins.ProgrammaticSkin. It's working fine, except I can't figure out how to limit the width of the text. Is there a way to control this within the skin?
See the attached image for an example of the text going too far. I would like it to stop before the separator line to the left of the down arrow.
© Stack Overflow or respective owner