Hi Björn et al.,
The bug is in method getListCellRendererComponent
in "net.infonode.gui.TextIconListCellRenderer.java".
When the label.setIconTextGap is calculated, the
calculation uses the previous gap and adds a larger
and larger gap when the IconWidth is below the
maximum IconWidth. See below:
I have fixed the problem by changing:
<SNIP>
if (icon.getIconWidth() < width)
label.setIconTextGap(label.getIconTextGap() +
width - icon.getIconWidth());
</SNIP>
to:
<SNIP>
if (icon.getIconWidth() < width)
label.setIconTextGap(4 + width -
icon.getIconWidth());
else
label.setIconTextGap(4);
</SNIP>
Best regards, Anders Busch.
http://www.rovsing.com/
ScreenShot from USS Editor