Hi, >>(4) At the moment I'm changing the background colour to indicate >>invalidity. >>Perhaps it might be better to use an icon-overlay in the lower right corner? > > This is really up to the skin (which I assume is where you are doing this). > If you want to use an overlay icon, you can attach a TagDecorator to the > TextInput when the skin is installed and set its tag property as appropriate > to show/hide the icon.
Excuse me but i hadn't shown the validation stuff at the moment, so a question: this Validation framework is able to fire events so that someone like an (application) listener can ask the skin to change the color or other attribute ? And is it possible to activate this for example at a key press event ? And last, on the change of the color: should i ask to the skin something like an HILIGHT color or WARNING, ERROR, etc ? This is on Themes (in general, not only the Terra skin): is it possible to ask the theme for example to have a variant of the given color, like return a color that is lighter/darker by x% of the dark color ? Or have a different % of hue or saturation but keeping the same saturation or value ? And last, given two colors, tell me the contrast between them, for accessibility this is important, but useful mainly in theme creation phase. All these features are useful to produce a set of derived color homogeneous with the skin colors. If i can help on this, tell me. Thanks and bye, Sandro
