On Sun, Jan 11, 2009 at 3:51 AM, wesley.acheson
<[email protected]> wrote:

> I've a problem with the DataGrid ignoring the % width, while using
> Canvas as the parent.  When I dynamically create columns it stretches
> to beyond the origional area.  This behaviour has been reported as a
> bug. http://bugs.adobe.com/jira/browse/SDK-14390.  The workarround
> described in the bug setting the width to 0 works for me in a simple
> test case but doesn't appear to work within my main application.

[...]

> I would like to extend datagrid with a version that doesn't have this
> issue if I can figure out why a fixed width doesn't work.

I've left a reply on the bug:

http://bugs.adobe.com/jira/browse/SDK-14390

Basically your DataGrid's minWidth is too large for the Panel. You can
set the minWidth property to reduce it. By default the measured value
for minWidth is always going to be large enough to accommodate all the
columns.

Manish

-- 
http://manishjethani.com

Reply via email to