You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2009/09/21 18:47:16 UTC
[jira] Created: (PIVOT-301) Add a "variableItemHeight" style to
TerraListViewSkin
Add a "variableItemHeight" style to TerraListViewSkin
-----------------------------------------------------
Key: PIVOT-301
URL: https://issues.apache.org/jira/browse/PIVOT-301
Project: Pivot
Issue Type: Improvement
Components: wtk
Reporter: Greg Brown
Priority: Minor
Fix For: 1.4.1
Setting this value to "true" would ease the restriction that all items in a list view are the same height. When true, the height of each item would be determined by asking the renderer for its preferred height.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-301) Add a "variableItemHeight" style to
TerraListViewSkin
Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778316#action_12778316 ]
Noel Grandin commented on PIVOT-301:
------------------------------------
Thanks, fixed in revision 880724
> Add a "variableItemHeight" style to TerraListViewSkin
> -----------------------------------------------------
>
> Key: PIVOT-301
> URL: https://issues.apache.org/jira/browse/PIVOT-301
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Greg Brown
> Assignee: Noel Grandin
> Priority: Minor
> Fix For: 1.4
>
>
> Setting this value to "true" would ease the restriction that all items in a list view are the same height. When true, the height of each item would be determined by asking the renderer for its preferred height.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (PIVOT-301) Add a "variableItemHeight" style to
TerraListViewSkin
Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noel Grandin reassigned PIVOT-301:
----------------------------------
Assignee: Noel Grandin
> Add a "variableItemHeight" style to TerraListViewSkin
> -----------------------------------------------------
>
> Key: PIVOT-301
> URL: https://issues.apache.org/jira/browse/PIVOT-301
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Greg Brown
> Assignee: Noel Grandin
> Priority: Minor
> Fix For: 1.5
>
>
> Setting this value to "true" would ease the restriction that all items in a list view are the same height. When true, the height of each item would be determined by asking the renderer for its preferred height.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIVOT-301) Add a "variableItemHeight" style to
TerraListViewSkin
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown updated PIVOT-301:
-----------------------------
Fix Version/s: (was: 1.4.1)
1.5
> Add a "variableItemHeight" style to TerraListViewSkin
> -----------------------------------------------------
>
> Key: PIVOT-301
> URL: https://issues.apache.org/jira/browse/PIVOT-301
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Greg Brown
> Priority: Minor
> Fix For: 1.5
>
>
> Setting this value to "true" would ease the restriction that all items in a list view are the same height. When true, the height of each item would be determined by asking the renderer for its preferred height.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIVOT-301) Add a "variableItemHeight" style to
TerraListViewSkin
Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noel Grandin resolved PIVOT-301.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.5)
1.4
> Add a "variableItemHeight" style to TerraListViewSkin
> -----------------------------------------------------
>
> Key: PIVOT-301
> URL: https://issues.apache.org/jira/browse/PIVOT-301
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Greg Brown
> Assignee: Noel Grandin
> Priority: Minor
> Fix For: 1.4
>
>
> Setting this value to "true" would ease the restriction that all items in a list view are the same height. When true, the height of each item would be determined by asking the renderer for its preferred height.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-301) Add a "variableItemHeight" style to
TerraListViewSkin
Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778305#action_12778305 ]
Todd Volkert commented on PIVOT-301:
------------------------------------
I get the following exception when checking the "variableItemHeight" checkbox for ListView in the ComponentExplorer:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.util.Arrays.binarySearch(Arrays.java:1417)
at org.apache.pivot.wtk.skin.terra.TerraListViewSkin.getItemAt(TerraListViewSkin.java:370)
at org.apache.pivot.wtk.skin.terra.TerraListViewSkin.paint(TerraListViewSkin.java:277)
at org.apache.pivot.wtk.Component.paint(Component.java:2009)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.Container.paint(Container.java:408)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paintDisplay(ApplicationContext.java:517)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paintVolatileBuffered(ApplicationContext.java:483)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.paint(ApplicationContext.java:388)
at org.apache.pivot.wtk.ApplicationContext$DisplayHost.update(ApplicationContext.java:410)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:43)
at sun.awt.RepaintArea.paint(RepaintArea.java:216)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:688)
at java.awt.Component.dispatchEventImpl(Component.java:4706)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> Add a "variableItemHeight" style to TerraListViewSkin
> -----------------------------------------------------
>
> Key: PIVOT-301
> URL: https://issues.apache.org/jira/browse/PIVOT-301
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Greg Brown
> Assignee: Noel Grandin
> Priority: Minor
> Fix For: 1.4
>
>
> Setting this value to "true" would ease the restriction that all items in a list view are the same height. When true, the height of each item would be determined by asking the renderer for its preferred height.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.