unreal.WrapBoxSlot

class unreal.WrapBoxSlot(outer=None, name='None')

Bases: unreal.PanelSlot

The Slot for the UWrapBox, contains the widget that is flowed vertically

C++ Source:

  • Module: UMG

  • File: WrapBoxSlot.h

Editor Properties: (see get_editor_property/set_editor_property)

  • fill_empty_space (bool): [Read-Write] Fill Empty Space: Should this slot fill the remaining space on the line?

  • fill_span_when_less_than (float): [Read-Write] Fill Span when Less Than: If the total available space in the wrap panel drops below this threshold, this slot will attempt to fill an entire line. NOTE: A value of 0, denotes no filling will occur.

  • force_new_line (bool): [Read-Write] Force New Line: Should this slot start on a new line?

  • horizontal_alignment (HorizontalAlignment): [Read-Write] Horizontal Alignment: The alignment of the object horizontally.

  • padding (Margin): [Read-Write] Padding: The padding area between the slot and the content it contains.

  • vertical_alignment (VerticalAlignment): [Read-Write] Vertical Alignment: The alignment of the object vertically.

property fill_empty_space

[Read-Only] Fill Empty Space: Should this slot fill the remaining space on the line?

Type

(bool)

property fill_span_when_less_than

[Read-Only] Fill Span when Less Than: If the total available space in the wrap panel drops below this threshold, this slot will attempt to fill an entire line. NOTE: A value of 0, denotes no filling will occur.

Type

(float)

property force_new_line

[Read-Only] Force New Line: Should this slot start on a new line?

Type

(bool)

property horizontal_alignment

[Read-Only] Horizontal Alignment: The alignment of the object horizontally.

Type

(HorizontalAlignment)

property padding

[Read-Only] Padding: The padding area between the slot and the content it contains.

Type

(Margin)

set_fill_empty_space(inb_fill_empty_space) None

Set Fill Empty Space

Parameters

inb_fill_empty_space (bool) –

set_fill_span_when_less_than(fill_span_when_less_than) None

Set Fill Span when Less Than

Parameters

fill_span_when_less_than (float) –

set_horizontal_alignment(horizontal_alignment) None

Set Horizontal Alignment

Parameters

horizontal_alignment (HorizontalAlignment) –

set_new_line(force_new_line) None

Set New Line

Parameters

force_new_line (bool) –

set_padding(padding) None

Set Padding

Parameters

padding (Margin) –

set_vertical_alignment(vertical_alignment) None

Set Vertical Alignment

Parameters

vertical_alignment (VerticalAlignment) –

property vertical_alignment

[Read-Only] Vertical Alignment: The alignment of the object vertically.

Type

(VerticalAlignment)