neversleep
Newcomer
Hi
I have a scrollable panel that contains tumbnailimages. When I add files to my application these images gets added to the panel in a loop. Their x-position is constant and the y-position increaces with the thumb height in each loop so the thumbs get displayed in a column.
The application is resizeable and so is the panelarea that contains the thumbs. How would I do if I wanted the thumbs to be displayed in as many columns as possible? Does there exist some repaint function that gets called when the panel area gets bigger...or how does it work?
I have a scrollable panel that contains tumbnailimages. When I add files to my application these images gets added to the panel in a loop. Their x-position is constant and the y-position increaces with the thumb height in each loop so the thumbs get displayed in a column.
The application is resizeable and so is the panelarea that contains the thumbs. How would I do if I wanted the thumbs to be displayed in as many columns as possible? Does there exist some repaint function that gets called when the panel area gets bigger...or how does it work?