Hi Mark,
styles in Pivot are different than css styles in HTML, this is feature
discussed since the beginning of Pivot :-) .
But the visual appearance of components is handled by the Skin (where
for example there is a pre-defined color palette), and any Component
has a related skin visual counterpart ... there are some global
settings (color palette, fonts, etc) in the skin but components draw
themselves.

I agree that we could improve this, so be free to add a JIRA as
Improvement, or write/attach some test/idea/sample code.


Some old discussion here:
http://apache-pivot-users.399431.n3.nabble.com/can-we-use-css-style-sheet-in-pivot-td3415299.html

Maybe using inline styles could help in your case now, some info here
for example:
http://apache-pivot-users.399431.n3.nabble.com/Apache-pivot-color-scheme-td4022780.html


Tell us for more info.

Bye,
Sandro


2014/1/22 Ripgiblet <m...@mrchambers.org>:
> SUMMARY:
> Should Styles of subcomponents inherit from their parent components in
> Apache pivot?
> If not why not? and can we do this in the future?
>
> DETAILS:
> This is maybe a problem, or maybe a feature request.
>
> Currently my styles don't seem to be inherited to SubComponents, so I have
> to set the styles manually for all sub components... Is this the way it is
> supposed to work?
>
> If this is the case I would recommend adding an inherited style model like
> HTML etc. So all styles are inherited from parent objects, unless they are
> overridden.
>
> regards,
> Mark.
>
>
>
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Inherited-Styles-in-Sub-Components-tp4022835.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to