I am setting up some UMG templates. I would like to adjust padding for some text on a per instance basis.
But the Set Padding node requires a User Widget Object Reference.
How can I convert this Text Object to a generic widget object?
I am setting up some UMG templates. I would like to adjust padding for some text on a per instance basis.
But the Set Padding node requires a User Widget Object Reference.
How can I convert this Text Object to a generic widget object?
A workaround is to wrap the text in a grid panel:
then the grid panels padding variable can be accessed.
The way to go is to cast to the pertinent slot type, providing it supports padding - most (all?) slots do. If the text is sitting in a border:
We’re accessing this above:
In short, the padding is dictated by the slot type the parent created for it. Here, the border created a border slot for the text.
that did. Thanks!