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?
Auto-resize thumbnails
Re: Auto-resize thumbnails
Hello,
We do not provide such feature but it should be easy to implement it by yourself. For example in the Resize event that modifies the ThumbnailEx size you can call the SetItemsSize() method with parameter proportionals to control size.
Kind regards,
Loïc
We do not provide such feature but it should be easy to implement it by yourself. For example in the Resize event that modifies the ThumbnailEx size you can call the SetItemsSize() method with parameter proportionals to control size.
Kind regards,
Loïc
Re: Auto-resize thumbnails
Thanks for your response.
Would this be a nice enhancement request to be implemented in a future version?
A automatic resizing option (based on the width/height of the control) would spare us the coding needed to get this and my guess is, when done in the component itself it will be more "efficient".
Would this be a nice enhancement request to be implemented in a future version?
A automatic resizing option (based on the width/height of the control) would spare us the coding needed to get this and my guess is, when done in the component itself it will be more "efficient".
Who is online
Users browsing this forum: No registered users and 1 guest