# Get proper widget size after creation

**URL:** <https://forums.unrealengine.com/t/get-proper-widget-size-after-creation/480707>\
**Category:** UI\
**Tags:** size, unreal-engine, geometry, Widget, question, UMG\
**Created:** [March 22, 2021, 6:22pm UTC](https://forums.unrealengine.com/t/get-proper-widget-size-after-creation/480707 "2021-03-22T18:22:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_01bbb45b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_01bbb45b](https://forums.unrealengine.com/u/anonymous_user_01bbb45b)\
**Post date:** [March 22, 2021, 6:22pm UTC](https://forums.unrealengine.com/t/get-proper-widget-size-after-creation/480707/1 "2021-03-22T18:22:09Z")

</div>

Hi folks,

I have been working on tooltips recently, i want to position it next to the triggering button and to do that i want to get the size of my tooltip widget right after i create it.

As expected the geometry of my widget is not ready at that time.  
So far i saw on forums to use ForceLayoutPrepass then GetDesiredSize and it works great on some situations but not all of them.

Basically if i set a desired size with a SizeBox it’s working but if i want to have a scalable tooltip it seems to fail getting the actual size. (images attached : the green tooltip hovers the button cause its size it slightly smaller than it should be)

So my question is, is there a way i can use the geometry in this situation instead of dealing with desiredSizes ?  
If not, is there an event i can bind on to position the tooltip only after the size has been computed ?

if possible, solution which wont need a tick function nor BP scripting.

Thanks 🙂
