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

Greg Brown updated PIVOT-417:
-----------------------------

    Fix Version/s: 1.4.1
         Assignee: Todd Volkert

> TerraTreeViewSkin throws  exception when its container's width is so narrow 
> that the node is mostly clipped.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-417
>                 URL: https://issues.apache.org/jira/browse/PIVOT-417
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 1.4
>         Environment: Windows 7, JDK 1.7.0 64-bit
>            Reporter: Scott Baxter
>            Assignee: Todd Volkert
>            Priority: Trivial
>             Fix For: 1.4.1
>
>
> I placed a tree view in the left pane of a split pane.  When I resize the 
> tree view's split pane down to the point that the tree view is almost not 
> visible (perhaps the icon but not the text), the tree view starts throwing 
> exceptions:
> Exception thrown during paint(): java.lang.IllegalArgumentException: width is 
> negative.
> Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: 
> width is negative.
>         at org.apache.pivot.wtk.Component.setSize(Unknown Source)
>         at org.apache.pivot.wtk.content.TreeViewNodeRenderer.setSize(Unknown 
> Source)
>         at org.apache.pivot.wtk.skin.terra.TerraTreeViewSkin.paint(Unknown 
> Source)
>         ....

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

Reply via email to