How does the component (canvas) widht, height auto size work?

This might help: