[
https://issues.apache.org/jira/browse/FLEX-24106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848360#comment-13848360
]
Maurice Amsellem edited comment on FLEX-24106 at 12/14/13 2:00 PM:
-------------------------------------------------------------------
VerticalAlign applies to default datagrid item renderer.
It does not make sense for custom itemRenderer, as the renderer is given all
the cell's height.
If you use MXDataGridItemRenderer, you have to manager vertical alignement in
the renderer.
On the other hand, vertical alignment does not work for default item Renderer,
but that's another issue:
FLEX-33932
was (Author: mamsellem):
verticalAlign applies to default datagrid item renderer.
It Does not make sense for custom itemRenderer, as the renderer is given all
the cell's height.
If you use MXDataGridItemRenderer, you have to manager vertical alignement in
the renderer.
> Bug with itemRenderer layout in DataGrid with verticalAlign style
> -----------------------------------------------------------------
>
> Key: FLEX-24106
> URL: https://issues.apache.org/jira/browse/FLEX-24106
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: DataGrid
> Affects Versions: Adobe Flex SDK 4.0 (Release)
> Environment: Affected OS(s): Windows
> Affected OS(s): Windows 7
> Browser: Firefox 3.x
> Language Found: English
> Reporter: Adobe JIRA
> Assignee: Maurice Amsellem
>
> Steps to reproduce:
> 1.Create DataGrid and set style verticalAlign to 'bottom' or 'middle' and row
> height to 50
> 2.Add MXDataGridItemRenderer itemRenderer to column
> 3.
>
> Actual Results: itemRenderer's height is greater than row height and it
> causes wrong layout
>
>
> Expected Results: itemRenderer should fit exactly in cell
>
>
> Workaround (if any): didn't find
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)