Trying to force widget to stay on screen

When it comes to Desired Size returning 0, try calling Force Layout Prepass first and then get widget size. This may be needed if you construct and want to use the widget immediately in the very same frame.

Good luck.