Hey there,
I’m coming in from other engines and normally there is a way to calculate the size of UI geo before it is displayed. Perhaps I’m going about this a not-unreal-way so I’ll give an example.
Take a BP widget that is a child of another and the parent will initialize it with a certain width based on its own screen relative size. This hierarchy is thrown on screen immediately when created (like a modal) or perhaps completely hidden/collapsed until the user wishes to jump to that screen.
I’ve seen all sorts of stuff that feels super hacky and would like to get a clean or “the unreal way” to solve this problem. Primarily I see the suggestion to just set the widget to visible and delay a frame before initializing or even make the screen visible, cache some sizes, then hide it again. Which sounds like it’s going to cause a flicker as well as some dirty flow.
I’m fine with both BP and CPP solutions. Thank you in advance