pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Brown (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIVOT-485) TextArea wrapText=true computes wrong preferredHeight
Date Fri, 07 May 2010 14:19:48 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Greg Brown resolved PIVOT-485.

    Fix Version/s: 1.5
                       (was: 1.5.1)
       Resolution: Fixed

> TextArea wrapText=true computes wrong preferredHeight
> -----------------------------------------------------
>                 Key: PIVOT-485
>                 URL: https://issues.apache.org/jira/browse/PIVOT-485
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4
>            Reporter: Dirk Moebius
>             Fix For: 1.5
>         Attachments: TextAreaTest.java
> TextArea with {wrapText:true} and very long text, embedded in a ScrollPane with ScrollBarPolicies
(FILL,AUTO): most of the time the height of the TextArea is computed wrong. See attached demo:
the TextArea doesn't display all 100 sentences. I set a yellow background for TextArea and
a blue background for ScrollPane so that you can see their bounds.
> It gets worse when you start resizing the host frame. The TextArea content "jumps" around,
sometimes displaying correctly, sometimes only a few lines, sometimes only one line. System.err
reports "Breaking out of potential infinite loop".

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message