SkinnableSpacer could be useful. One use case I can think of is in toolbars to separate groups of toolbar items. I would use SkinnableComponent, it is about skinning the spacer, I don't see why it should be a container.
Haykel On 1 March 2012 09:53, Omar Gonzalez <omarg.develo...@gmail.com> wrote: > On Thu, Mar 1, 2012 at 12:48 AM, Arnoud Bos <arn...@artim-interactive.nl > >wrote: > > > I believe s:Rect is a little more light weight as it doesn't inherit > > from UIComponent. I use it all the time for my spacing needs > > > > Arnoud > > > I've done the same for the same reason, I think I'll just subclass it and > add some convenience setters, using s:Rect in a s:Group for spacing can be > verbose. > > Here's a question... can you think of any use for a s:SkinnableSpacer? How > useful would that be? I'm thinking things like something you might use > between text that you want different skinned versions of? Is > s:SkinnableContainer sufficient? Or maybe a lighter weight version of > SkinnableContainer? I suppose its about the same thing I just have not > looked closely at the internals of s:SkinnableContainer to see if it can be > made to be lighter in weight. > > -- > Omar Gonzalez > s9tpep...@apache.org > Apache Flex PPMC Member >