unreal.Margin

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

Bases: 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.

property bottom: float

[Read-Write] Holds the margin to the bottom.

Type:

(float)

property left: float

[Read-Write] Holds the margin to the left.

Type:

(float)

property right: float

[Read-Write] Holds the margin to the right.

Type:

(float)

property top: float

[Read-Write] Holds the margin to the top.

Type:

(float)