Hello @fidoboy.
I had a deeper look into your request and have to write, I can not provide a solution. As I wrote bevore srcset is part of the theme and WordPress.
As I wrote, Recent Posts Widget With Thumbnails is using get_the_post_thumbnail();
. The description of this function is
When a theme adds ‘post-thumbnail’ support, a special ‘post-thumbnail’ image size is registered, which differs from the ‘thumbnail’ image size managed via the Settings > Media screen.
The logic of this function is, that it can not provide a srcset because it provides just the ‘thumbnail’ image size. I also discussed this with the WordPress core team and received the same statement. A post thumbnail can have only one size. Otherwise, WordPress should have a built-in option to select a source set for the different sizes. And that’s not planned.
I’m sorry I can’t give another answer.
If you still need this feature, feel free to add it yourself. You can send us your updated code so that I can review it and integrate it into the regular version.