PDA

View Full Version : component alignment issues


Scruffpuff
01-07-2010, 08:07 AM
Hello,

I'm new to Flex as well as the Spark architecture and I'm having a bit of trouble figuring out why my components are occasionally sticking to the top of their containers.

I have an example here: http://tinypic.com/r/dw3ldt/6

On the row that starts with the "Retin-A" checkbox I have a spark Line primitive seperating the checkbox from the radio buttons. I can't seem to figure out how to snap the line to the bottom rather than the top of the container. I figure I could push it down with padding or something but I was wondering if there's a better way to achieve the same result?

Thank you!

Peter Cowling
01-08-2010, 07:13 PM
Not all parent containers/components are the same. You probably have the children stacked in the Spark equivalent of VBox - something like VGroup? Regardless, if you post your code, you'll get an answer.