Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

wx.lib.agw.scrolledthumbnail.Thumb: Allow arbitrary thumb sizes

Open wf-r opened this issue 3 years ago • 1 comments

Is there any reason that the Thumb size is by hard-coding restricted to at most (350, 280) without any error message/logging/warning? https://github.com/wxWidgets/Phoenix/blob/7d45ee6abbbc284f34d2ff018c464b65774f4ff3/wx/lib/agw/scrolledthumbnail.py#L1159-L1160

I see no obvious reason for this :)

wf-r avatar Jun 23 '22 16:06 wf-r

No specific reason. Very many years ago it seemed like an ok idea, but there shouldn’t be any specific limitations per se - except for the speed at which the thumbnails are generated. I think Robin will be happy to accept sensible PRs

infinity77 avatar Jun 23 '22 17:06 infinity77