Re: [flexcoders] WrapPanel?

2008-01-23 Thread Maciek Sakrejda
Josh, check out the FlowBox from FlexLib:

http://flexlib.googlecode.com/svn/trunk/examples/FlowBox/FlowBox_Sample.swf


-Original Message-
From: Josh Santangelo [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] WrapPanel?
Date: Tue, 22 Jan 2008 23:43:39 -

I'm looking for a Flex container that behaves similar to WPF's
WrapPanel.

http://msdn2.microsoft.com/en-us/library/system.windows.controls.wrappanel.aspx

Positions child elements in sequential position from left to right,
breaking content to the 
next line at the edge of the containing box. Subsequent ordering happens
sequentially from 
top to bottom or from right to left, depending on the value of the
Orientation property.

The closest I can find is Tile, which would work if it determined its
number of rows and 
columns based on the size of its children and its parent, rather than
always trying to make a 
square.

Has anyone implemented something like this?

thanks,
-josh




 




[flexcoders] WrapPanel?

2008-01-22 Thread Josh Santangelo
I'm looking for a Flex container that behaves similar to WPF's WrapPanel.

http://msdn2.microsoft.com/en-us/library/system.windows.controls.wrappanel.aspx

Positions child elements in sequential position from left to right, breaking 
content to the 
next line at the edge of the containing box. Subsequent ordering happens 
sequentially from 
top to bottom or from right to left, depending on the value of the Orientation 
property.

The closest I can find is Tile, which would work if it determined its number of 
rows and 
columns based on the size of its children and its parent, rather than always 
trying to make a 
square.

Has anyone implemented something like this?

thanks,
-josh