incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sébastien Paturel <sebpatu.f...@gmail.com>
Subject Re: Why Spark? (was Re: s:Spacer (was Re: Missing Spark components))
Date Sun, 04 Mar 2012 12:22:30 GMT
When you say that it is the plan, you mean that its already planned to 
take it in the Apache Flex roadmap? Would be great news for MX easy 
skinning lovers.

By the way, where can we find the results of every ideas that decision 
board has put aside for later votes, after all those rich discussions 
from ML?

About the BorderContainer Idea, its one way to do so, but if i 
understand well how it is done, BorderContainer is only a 
SkinnableContainer with styles properties exposed, and for which the 
default skin class use the host component skin properties values with 
code like: contentGroup.setStyle("styleProperty", 
hostComponent.styleProperty);
am i right?

Thats a quite easy solution that would not take much work to achieve.
2 things bothers me:
- Is it a problem if with that solution we need to maintain this easy 
skinning component skin class in sync with the updates of the base 
component skin? (maybe not)
- More important: It means that we also need to define those custom 
skins from a copy of mobile skins?

Would it be possible to use inheritance of skin classes in such a 
purpose instead of starting from a copy of the base skin class? Why 
Adobe did not use this solution for BorderContainer ?

Even better: would it be possible that the component, after init, acces 
its current skin (default Spark, custom, or MOBILE !!) and set the 
exposed values to the skin, overriding the current skin values? Maybe 
the skin class, especially for mobile, could decide if some skin 
settings should not be allowed to be overriden like this?



Le 04/03/2012 07:02, jude a écrit :
> That's the plan (loosely). A set of core components and then convenience
> components.
>
>
> On Sat, Mar 3, 2012 at 3:20 PM, Rob Sheely<robsheely@gmail.com>  wrote:
>
>> Maybe we can build on the concept of the Spark BorderContainer (quoting
>> the docs):
>>
>> The BorderContainer container provides a set of CSS styles and class
>> properties to control the border and background of the container.
>>
>> A set of subclassed Spark components with CSS styling implemented. Or more
>> specifically, a set of skins for the components that expose many properties
>> for CSS styling.
>>
>>


Mime
View raw message