>> The fact that WTKXSerializer doesn't have any dependencies on WTK is almost 
>> a strong enough argument on its own to move it to pivot-core.
> 
> Maybe it should?

It has been moved to pivot-core and renamed BXMLSerializer for Pivot 2.0.

> One thing that's been bugging me as I work on my first Pivot project is the 
> verbosity of specifying styles on elements.  Why can't styles be specified as 
> attributes on the element in their own right?  Instead of
> 
> <BoxPane styles="{ backgroundColor: 'red', horizontalAlignment: 'left' }"/>
> 
> how about
> 
> <BoxPane backgroundColor="red" horizontalAlignment="left"/>

That could be a bit confusing, since it looks like they are properties of the 
BoxPane. However, you can do this if you prefer:

<BoxPane>
    <styles backgroundColor="red" horizontalAlignment="left"/>
</BoxPane>



Reply via email to