Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C5DDFE358 for ; Thu, 21 Feb 2013 20:20:13 +0000 (UTC) Received: (qmail 2532 invoked by uid 500); 21 Feb 2013 20:20:12 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 2508 invoked by uid 500); 21 Feb 2013 20:20:12 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 2499 invoked by uid 99); 21 Feb 2013 20:20:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 20:20:12 +0000 Date: Thu, 21 Feb 2013 20:20:12 +0000 (UTC) From: "Carol Frampton (JIRA)" To: dev@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33389) The width of the last column header on a horizontally scrolling datagrid 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-33389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13583516#comment-13583516 ] Carol Frampton commented on FLEX-33389: --------------------------------------- I think your workaround is to define your own headerRenderer (for each column are in the skin) which has maxDisplayLines="0" and the style lineBreak set to "explicit" so the text in the header doesn't wrap unless there are explicit newlines in the text. > The width of the last column header on a horizontally scrolling datagrid > ------------------------------------------------------------------------- > > Key: FLEX-33389 > URL: https://issues.apache.org/jira/browse/FLEX-33389 > Project: Apache Flex > Issue Type: Bug > Components: Spark: DataGrid > Affects Versions: Adobe Flex SDK 4.6 (Release), Apache Flex 4.9.0 > Environment: Windows 7 64bit > Reporter: Mikko Torniainen > Priority: Minor > Labels: column, datagrid, header > Fix For: Apache Flex 4.9.0 > > Attachments: Flex-33389.air, FLEX33389.mxml, lastcolumn.png, shot-20130213T115939.png, src.7z > > > To reproduce: > Create a spark datagrid with more columns than fit in the width of the datagrid. A horizontal scrollbar is shown. You'll see the last column header will wrap when it's scolled in and out of view. It's width changes based on how much of it is visible all the way down to zero. The other columns do not do that. Setting minwidth does not change it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira