刚创建的widget在渲染前如何获得它的absolute size
Try calling Force Layout Prepass and only then Get Desired Size.
Force Layout Prepass
Get Desired Size.