Have no idea how to align/realign uwidgets via c++. I have a following widget structure: UButton->UOverlay->UImage. Have to make UOverlay to HFill and VFill the UButton
2 Answers
\$\begingroup\$
\$\endgroup\$
Figured out the solution. Add child returns a panel slot, which we can then cast to a button slot and use it to set alignment.
Edit: This solution crashes the engine. Still can't figure out why