Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1D381068C for ; Sat, 15 Feb 2014 13:59:21 +0000 (UTC) Received: (qmail 70126 invoked by uid 500); 15 Feb 2014 13:59:20 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 70092 invoked by uid 500); 15 Feb 2014 13:59:20 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 70082 invoked by uid 99); 15 Feb 2014 13:59:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Feb 2014 13:59:19 +0000 Date: Sat, 15 Feb 2014 13:59:19 +0000 (UTC) From: "Maurice Amsellem (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33932) verticalAlign="middle" does not work with mx:DataGrid custom item renderers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)