Hi Alex,

And how to tell the correct size?

Should I explicitly set the height?

Here is one my my itemRenderers:

<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml";
         verticalScrollPolicy="off" 
         horizontalScrollPolicy="off"
         width="100%" 
         height="100%">
        <mx:Label 
                id="cellLabel"
                x="0" y="0" 
                width="100%"  
                height="100%"
                textAlign="left"
text="{data.hasOwnProperty('m_sDescShort')?data.m_sDescShort:data.m_sDesc}"
 paddingRight="10" 
paddingLeft="10"/>
</mx:VBox>

Thanks!


Dmitri.


--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> The Tree issue turned out to be in code the DG wouldn't run into.  Makes
> me think your custom renderes are misreporting their sizes.
> 
>  
> 
> ________________________________
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of mitek17
> Sent: Wednesday, September 12, 2007 2:08 AM
> To: [email protected]
> Subject: [flexcoders] Re: PrintDataGrid and the last row problem
> 
>  
> 
> Hi Alex,
> 
> There are 5 columns in the grid, 3 of which have custom itemRenderers.
> Flex 2.0.1 SDK Hotfix 1
> 
> Thanks!
> 
> Regards,
> Dmitri.
> 
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui" <aharui@> wrote:
> >
> > Custom renderer or default renderers? Which version of Flex? I'm
> > investigating a similar report against Tree today.
> >
>


Reply via email to