How to get size widget with "size to content"

How I can get the size widget with option “Size to content” ?

I am interested in this too, did you solved it?

No, i didn’t this

Try this.

If you want to get the “size to content” property of the widget, you can use the “slot as canvas panel slot” node with the output plugged into a “get size to content” (variable) node

It’s useful. Thank you.