Hi G,
I assume you are on Flex 3 SDK, then I suggest you to set "focusThickness"
style on textInput propety, not very elegant solution, because it also
influences the thinkness of the focus.

If setting "focusThinkness" is not an option for you, then I suggest you to
extend standard TextInput component to include the support for the skin for
"error" state, see for example those great samples by Lejnieks

Show error skin for Flex 3 checkbox
http://www.lejnieks.com/2009/04/06/skinning-checkbox-with-error-state/
Show error skin for Flex 3 combobox
http://www.lejnieks.com/2009/04/06/skinning-combobox-with-error-state/


If you are already moved along to Flex 4 SDK, then your task will be easy,
you do not have to extend standard components, just
create extra skin with custom border defined for "error" state for Spark
TextInput component, see source file of ErrorSkin.as as starting point
http://www.airia.cn/FLEX4API/livedocs/spark/skins/default/ErrorSkin.html

<http://www.airia.cn/FLEX4API/livedocs/spark/skins/default/ErrorSkin.html>
--
Best regards,
Andriy Panas



2009/10/21 G <gmonie...@yahoo.com>

>
>
> I know you can change the errorColor of a textinput, but I have found
> nothing in the docs, or online about how to change the thickness of that
> border (when not in focus).
>
> It seems that the thin red line is not very noticeable, and I want to bring
> more attention to fields which have errors.
>
> I am also open to any other suggestions that people have found succesful.
>
> Thanks.
>
>  
>

Reply via email to