unreal.SizeBoxComponent¶
- class unreal.SizeBoxComponent(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
UIComponentThis is a class for a Component that wraps the Owner widget with a Size Box.
C++ Source:
Module: UMG
File: SizeBoxComponent.h
Editor Properties: (see get_editor_property/set_editor_property)
height_override(float): [Read-Write] When specified, ignore the content’s desired size and report the HeightOverride as the Box’s desired height.horizontal_alignment(HorizontalAlignment): [Read-Write] This property is for the Widget that owns this Component. The alignment of the object horizontally.max_aspect_ratio(float): [Read-Write]max_desired_height(float): [Read-Write] When specified, will report the MaxDesiredHeight if smaller than the content’s desired height.max_desired_width(float): [Read-Write] When specified, will report the MaxDesiredWidth if smaller than the content’s desired width.min_aspect_ratio(float): [Read-Write]min_desired_height(float): [Read-Write] When specified, will report the MinDesiredHeight if larger than the content’s desired height.min_desired_width(float): [Read-Write] When specified, will report the MinDesiredWidth if larger than the content’s desired width.override_height_override(bool): [Read-Write]override_max_aspect_ratio(bool): [Read-Write]override_max_desired_height(bool): [Read-Write]override_max_desired_width(bool): [Read-Write]override_min_aspect_ratio(bool): [Read-Write]override_min_desired_height(bool): [Read-Write]override_min_desired_width(bool): [Read-Write]override_width_override(bool): [Read-Write]padding(Margin): [Read-Write] This property is for the Widget that owns this Component. The padding area between the slot and the content it contains.vertical_alignment(VerticalAlignment): [Read-Write] This property is for the Widget that owns this Component. The alignment of the object vertically.width_override(float): [Read-Write] When specified, ignore the content’s desired size and report the WidthOverride as the Box’s desired width.
- property height_override: float¶
[Read-Write] When specified, ignore the content’s desired size and report the HeightOverride as the Box’s desired height.
- Type:
(float)
- property horizontal_alignment: HorizontalAlignment¶
[Read-Write] This property is for the Widget that owns this Component. The alignment of the object horizontally.
- Type:
- property max_desired_height: float¶
[Read-Write] When specified, will report the MaxDesiredHeight if smaller than the content’s desired height.
- Type:
(float)
- property max_desired_width: float¶
[Read-Write] When specified, will report the MaxDesiredWidth if smaller than the content’s desired width.
- Type:
(float)
- property min_desired_height: float¶
[Read-Write] When specified, will report the MinDesiredHeight if larger than the content’s desired height.
- Type:
(float)
- property min_desired_width: float¶
[Read-Write] When specified, will report the MinDesiredWidth if larger than the content’s desired width.
- Type:
(float)
- property padding: Margin¶
[Read-Write] This property is for the Widget that owns this Component. The padding area between the slot and the content it contains.
- Type:
(Margin)
- property vertical_alignment: VerticalAlignment¶
[Read-Write] This property is for the Widget that owns this Component. The alignment of the object vertically.
- Type: