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] Bottom: Holds the margin to the bottom.

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

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

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

property bottom

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

Type

(float)

property left

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

Type

(float)

property right

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

Type

(float)

property top

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

Type

(float)