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 56526107A6 for ; Sat, 14 Dec 2013 13:59:11 +0000 (UTC) Received: (qmail 80946 invoked by uid 500); 14 Dec 2013 13:59:10 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 80911 invoked by uid 500); 14 Dec 2013 13:59:09 -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 80897 invoked by uid 99); 14 Dec 2013 13:59:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Dec 2013 13:59:09 +0000 Date: Sat, 14 Dec 2013 13:59:08 +0000 (UTC) From: "Maurice Amsellem (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-24106) Bug with itemRenderer layout in DataGrid with verticalAlign style 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-24106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848360#comment-13848360 ] Maurice Amsellem commented on FLEX-24106: ----------------------------------------- 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)