TextInput and rounded corners in Flex
February 19th, 2009
Default rounded corners do not work on Textinputs (textInputs) but a textinput can have rounded corners try this:
mx:TextInput cornerRadius=”10″ borderStyle=”solid”
Without the borderStyle set to solid it doesn’t work. This might work on different other components like boxes etc. too.











A wonderful article…. this is just what I needed to read today. Thanks for describing the way you work and how you structure your writing projects. I’ll go read that article now.
A wonderful article…. this is just what I needed to read today. Thanks for describing the way you work and how you structure your writing projects. I’ll go read that article now.
Wow, this is very useful.. Thanks for sharing this and hoping I could implement it too.
Wow, this is very useful.. Thanks for sharing this and hoping I could implement it too.
This is my first time comment at your blog.
Good recommended website.
Thanks. It works.
Yeah, it works but it’ll affect also other components that use the TextInput as a child, the NumericStepper for example. These will then look odd unfortunately!
Thx! Works like a charm
any word on how this can be done with the equivilent spark component? cornerRadius is not an option.