Hi,

As it is the Box disregaurds x and y.

My advice as a component developer is, subclass the Box and create a
bottomRenderer property that is IFactory. Create a method that overrides
layoutChrome() and layout the renderer based on your required dimensions.
This instance would be added to rawChildren.

Another angle is if you need the box created in mxml for some reason(in the
content children), override createComponentsFromDescriptors() remove the
instance you have identified, put it in rawChildren and layout it out in the
chrome. You will need to override viewMetrics() and add the height of the
instance to the bottom property.

If this sounds like something you would want to try, I can be more specific.

Peace, Mike

On 5/7/07, Ian Skinner <[EMAIL PROTECTED]> wrote:

  Is this possible in a standard 'vertical' layout VBox, or does one have
to go 'absolute' layout?

I have a VBox displaying 1-N child boxes, and I want one to be pinned to
the bottom. Is this possible or do I need to wrap an absolute layout
around this?



--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to