How to move text away from the edges of a text label

image

I need to move our “Label” horizontally and vertically to different distances from the edges. How can I do this?

You can use a UiPadding, where the PaddingLeft adds some distance to the left of the text and PaddingTop adds some distance to the top of the Text. It also has the same properties of scale, offset

This works, thanks, but are there any others methods?

As far as I’m aware of, no. text text

I usually add another frame under the background frame so the text technically takes up an entire frame, but I set the distance myself. Hopefully that makes sense.

It’s cool to know the UIpadding thing though, I’ll try it out. It would cut back on the amount of Frames and make my workload a little easier I think.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.