Also, horizontalGap and verticalGap.

- ptrisnadi

----- Original Message ----
From: Darin Kohles <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wed Dec 14 16:32:25 2005
Subject: [flexcoders] Re: Datagrid CellRenderer doesn't fill entire cell

You might try playing with some style properties like:

setStyle("borderThinkness",0)
setStyle("focusThinkness",0)
setStyle("marginLeft",0)
setStyle("marginRight",0)

Maybe one of these will do the trick.

Good Luck

--- In flexcoders@yahoogroups.com, "stepanhil" <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> I'm customizing background color of cells based on the value in cell.
> I got that working, the problem is that I get 1px spacing between the
> cell and vertical grid (not always on all sides though). It seems to
> have something to do with styles, but I can't find a way to get rid
of it.
>
> In comparison, setting a cell background on column has the desired
> effect (no spacing between bg color and border)
>
> I've tried to base the renderer on Box, Canvas and modifying margins
> and vertical gaps but without success.
>
> Thanks, Stepan
>



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




YAHOO! GROUPS LINKS




Reply via email to