When i use this itemRenderer in a List the image is scaled to
the current width of the list, as expected.
But when i use this itemrenderer in a tilelist it
doesn´t scale to the largest possible size, instead it always
stays at the minWidth (200 px).
What i want is, that, when the tilelist positions the buttons
in (e.g.) two rows that the button is scaled to 50% of the width of
the tilelist. And when the tilelist positions the buttons in 3 rows
that the width of the button is scaled to 33% of the
tileList-width, and so on.
Does anyone have an idea how this can be done?