Should be in pixels.  I think 0 is the default for TextField which is the base 
for DataGridItemRenderer.


On 6/21/10 8:44 PM, "Angelo Anolin" <angelo_ano...@yahoo.com> wrote:






Hi Alex,

On the adobe docs, the default says that it is 0 only for combo box and 2 for 
all others.  What unit is being used here? I set my leading to 0 but the space 
is still noticeably big.  Setting it to -2 somewhat fixed it.

Thanks.

Angelo

________________________________
From: Alex Harui <aha...@adobe.com>
To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com>
Sent: Mon, 21 June, 2010 10:24:54
Subject: Re: [flexcoders] Datagrid Column Setting Vertical Gap




Try “leading”


On 6/21/10 9:17 AM, "Angelo Anolin" <angelo_anolin@ yahoo.com> wrote:






Hi FlexCoders,

I have a datagrid where I have set the wrapping to true (wordWrap="true") and 
the row height (variableRowHeight="true").  The text wraps properly, except 
that the Vertical Gap is quite too big.  There is a visible space between the 
lines that were wrapped inside the datagrid.

Is there a way to set the verticalGap property for the datagrid so that the 
data it renders as wrapped text would be quite compressed, instead of having a 
clear and big visible space between its vertical lines?

Checking adobe livedocs does not list any verticalGap property.

Thanks.

angeLo













--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to