I have a ListBox and the custom components I create have a couple of buttons. It looks similar like any DAW, left an area with track name and mute/solo buttons, and the rest is occupied by an AudioThumbnail. I have now a resizer, so the area containing the buttons changes, but the whole components keeps it’s bounds.
Somehow I am failing to update the geometry from the ListBox. updateContent on the ListBoxModel doesn’t help and setBounds on the ListBox doesn’t help either (since the size is unchanged).
Is there a way to enforce a resized() on all existing custom components in a ListView? Repainting is no problem, but I need to update the bounds of the buttons as well…