Auto-resize thumbnails
Posted: Thu Sep 19, 2013 12:47 pm
I wonder if there is a way to let the thumbnails be automatically resized depending on the size of the control.
I know how to set width and height of the thumbnails, but it would be nice that depending on the size of the control the thumbnails are scaled accordingly.
I'm replacing an old component which this does actually.
The form consists of 2 parts, a small strip at the left showing the thumbnails and at the right the viewer.
In between there is a splitter. So the user can drag the splitter left/right to enlarge the thumbnail control.
The thumbs need to be rescaled to get the max possible width.
Any suggestion?
I know how to set width and height of the thumbnails, but it would be nice that depending on the size of the control the thumbnails are scaled accordingly.
I'm replacing an old component which this does actually.
The form consists of 2 parts, a small strip at the left showing the thumbnails and at the right the viewer.
In between there is a splitter. So the user can drag the splitter left/right to enlarge the thumbnail control.
The thumbs need to be rescaled to get the max possible width.
Any suggestion?