Unreal Engine, when I pad the border, how can I specify the color of padded area?

Just the padded area, not the whole area of the border. Thanks!!

You cannot color a selective region of a border, it’s either the whole border or nothing.

Alternatively you can patch this in the following way:

Create a simple png image that contains a white filled margin with transparency in the middle. Assign it as the brush texture on your border, tint with the color you want.

Thanks! And could you tell me what’s the difference between brush color and tint color?

Brush color is the primary color for the selected brush.

Tint will affect the color of the brush color.

If the original question is marked as done, remember to close the question by accepting the answer so that others may find it if they’re looking for it.