flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carol Frampton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33389) The width of the last column header on a horizontally scrolling datagrid
Date Thu, 21 Feb 2013 20:20:12 GMT

    [ 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

Mime
View raw message