[ 
https://issues.apache.org/jira/browse/FLEX-33932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902406#comment-13902406
 ] 

Maurice Amsellem commented on FLEX-33932:
-----------------------------------------

Initial option to fix this was to shift DataGridItemRenderer (UITextField) to 
the bottom so that it looks vertically aligned to the middle.
The problem with that is that it created a "whole" above the text, and the row 
is selected only when clikc in the text or below, but not above.

Second option, that worked, was to use a custom item renderer, deriving from 
mx:Label. But it's not equivalent in term of performance to UITextField, so 
cannot be included as a standard feature of the SDK.

I have attached the custom renderer to the ticket, in case someone needs it.

> verticalAlign="middle" does not work with mx:DataGrid custom item renderers
> ---------------------------------------------------------------------------
>
>                 Key: FLEX-33932
>                 URL: https://issues.apache.org/jira/browse/FLEX-33932
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: DataGrid
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Maurice Amsellem
>            Assignee: Maurice Amsellem
>            Priority: Minor
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to