I've run into the same problem.  ItemRenderer had a canvas that was 100% width/height, but still had that annoying space over it.  Haven't been able to fix it.  Really annoying in combination with the selectionColor.  The selectionColor winds up being draw only in that out-of-bounds region, resulting in an unsightly boxing effect.

On 7/20/06, Artur Kordowski <[EMAIL PROTECTED]> wrote:

Yes, I've tried to set the padding properties but it takes no effect.
And on different rowHight are the spaces still there.
 
Artur


From: [email protected] [mailto:[email protected]] On Behalf Of Jeremy Lu
Sent: Thursday, July 20, 2006 4:13 AM
To: [email protected]
Subject: Re: [flexcoders] How to remove DataGrid itemRenderer top & Bottom spaces


have you tried to set paddingTop, paddingBottom to 0 ?

another possible reason is the rowHeight of DataGrid is just too high, try shorten it.



Jeremy.

On 7/20/06, Artur Kordowski <[EMAIL PROTECTED]> wrote:

I've created an itemRenderer for a DataGrid and set a backgroundColor. But when the DataGrid is rendered I have still top 1px and bottom 2px white space (look at sample image). Can any one tell me how I can remove it, so that the background fill the cell without spaces?
 
Artur






--
Jason __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to