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
Priority: Trivial
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.