Canvas Expander , resize canvas based on all paintlayers and active view

Thank you @TLTAA :+1:
I’ll try this later in the day when I have time to concentrate on it and I’ll let you know if I have any difficulties with it.