Suppose I’m using a UniformGridPanel to layout some widgets, and I’d like to know the absolute position of a widget AS IF it was placed manually using a CanvasPanel, is there some way I can do this?
Both blueprint and C++ solutions are welcome
Or is there any way of getting the position of a widget from a UniformGridPanel? It seems like the stuff I need is hidden inside the private variable
SUniformGridPanel::FSlot* Slot, in particular, it seems that
FVector2D SUniformGridPanel::ComputeDesiredSize( float ) const would be useful. I assume this returns the size of a cell, which will allow me to compute the position of the widget. Any help is greatly appreciated!