unreal.Margin

class unreal.Margin(left=0.0, top=0.0, right=0.0, bottom=0.0)

Bases: unreal.StructBase

Describes the space around a Widget.

C++ Source:

  • Module: SlateCore
  • File: Margin.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bottom (float): [Read-Write] Holds the margin to the bottom.
  • left (float): [Read-Write] Holds the margin to the left.
  • right (float): [Read-Write] Holds the margin to the right.
  • top (float): [Read-Write] Holds the margin to the top.
bottom

(float) – [Read-Write] Holds the margin to the bottom.

left

(float) – [Read-Write] Holds the margin to the left.

right

(float) – [Read-Write] Holds the margin to the right.

top

(float) – [Read-Write] Holds the margin to the top.