Styles are just the Java bean properties of the skin. So you can look at the 
Javadoc for the org.apache.pivot.skin.terra package to see what they are.

There's no real documentation on how to customize a skin, but in general you 
just need to create a subclass of the skin you want to customize and make sure 
that it gets installed on any components that will need to use it. You can do 
this by replacing the entry in the Theme's compoent/skin class map with your 
custom skin class.

G

On May 2, 2011, at 7:54 AM, sam wrote:

> I am testing the textinput validation and got few classes to customize my own
> validation. Right now the invalid text background is red. Is there any way
> we can change it? I am guessing it is in the styles. Is there a better way
> of looking up all the possible styles like particular source code of
> particular class? 
> 
> Also, is there documentation about start customizing the skin? I would like
> to try a bit of that but not sure where to start
> 
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Validation-and-background-and-skin-tp2889574p2889574.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to