Another option is to add the DGs in the other panels after creationComplete on the TabNav so you know what sizes to use.
As far as scaling goes, you might want to save off the columns somewhere and restore them later. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of lytvynyuk Sent: Thursday, January 03, 2008 2:16 PM To: [email protected] Subject: [flexcomponents] Re: Generated DataGrid column sizes problem... > What's happening is that the second and third panels don't get sized > right away and they size the DG to something small which squishes the > columns. Try setting a minWidth on the DG to as large a number as > possible. Thank you Alex for response. I does looks like second and third was newer set to requested width. What I see any DG component,which not displayed, ignores 'width' and set columns to (100/by number of columns)%. You suggestion actually works, but only if I can set minWidth good enough, some times it is not possible. Case 2 is more even funnier. I kinda understand what is going on, DG forget about column width when its own width became 0. Is it possible to call DG initialisation method again to bring initial properties back, or may be create a method which applies properties back after scaling done.
