Just wondering, did you try this with the list view item editor yet? I am curious to know if the editor will need to be modified as well.

On Nov 12, 2009, at 7:41 AM, Noel Grandin wrote:


While working on this commit, I noted that to make full use of it,
ListViewItemRenderer needs to have a mode where it allows the icon to
assume it's "natural" size.

But at the moment ListViewItemRenderer explicitly sets the size of the
icon to 16x16 in it's constructor.

What is the preferred solution here?
Do I remove the explicit setPreferredSize() call in the constructor -
which might impact existing code?
Document that if you use the "variableItemHeight" you need to set
preferred height and width to -1 on ListViewItemRenderer?

-- Noel.

Reply via email to