You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Scott Lanham <li...@sael.com.au> on 2009/08/06 01:17:04 UTC

Question About Skins

Howdy Hi,

Would it be true to say that to change skins requires possibly having to 
change the code that sets styles?

Cheers,

Scott.



Re: Question About Skins

Posted by Greg Brown <gk...@mac.com>.
Yes, that is correct. It is up to the skin to decide which styles to  
support. The example we typically use is push buttons in OS X vs.  
Windows - their characteristics are quite different, so their styles  
(if we created skins to replicate them) would also be different.

However, components whose skins are defined in (or extend classes  
defined in) org.apache.pivot.wtk.skin would probably not be affected  
by a theme change.

G


On Aug 5, 2009, at 7:17 PM, Scott Lanham wrote:

> Howdy Hi,
>
> Would it be true to say that to change skins requires possibly  
> having to
> change the code that sets styles?
>
> Cheers,
>
> Scott.
>
>