If this sounds like something you would want to try, I can be more
specific.
Peace, Mike
That does not sound all that simple for my very first, non-tutorial Flex
application and may be overkill for what I want. But it's good to know
the concepts of what is possible when my skills advance somewhat.
Ian
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
--- Begin Message ---
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 < <mailto:[EMAIL PROTECTED]> [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.teotigra <http://www.teotigraphix.com> phix.com
Blog - Flex2Components
http://www.flex2com <http://www.flex2components.com> ponents.com
You can find more by solving the problem then by 'asking the question'.
--- End Message ---