On 1/13/06, Andy Johnston <[EMAIL PROTECTED]> wrote:
> Hey all just wondering with this constraints based layout for Flex
> Builder 2 is it possible to simply align a Panel to centre of a liquid
> layout? Why can't you set x and y values to a %?
Can you be more specific about what you mean by "liquid layout"?
We've added some support (since Alpha 1) for centering using
constraints-based layout, but I'm not sure it'll fulfill your
requirement.
There's no support for x%/y% but you can always compute the value in a
binding expression.
<Panel x="{canvas.width / 100 * 20}" ...
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/