Show / Hide Table of Contents

Class SizeBox

A widget that allows you to specify the size it reports to have and desire.

Inheritance
System.Object
UObject
Visual
Widget
PanelWidget
ContentWidget
SizeBox
Inherited Members
ContentWidget.GetContent()
ContentWidget.GetContentSlot()
ContentWidget.SetContent(Widget)
PanelWidget.AddChild(Widget)
PanelWidget.ClearChildren()
PanelWidget.GetChildAt(Int32)
PanelWidget.GetChildIndex(Widget)
PanelWidget.GetChildrenCount()
PanelWidget.HasAnyChildren()
PanelWidget.HasChild(Widget)
PanelWidget.RemoveChild(Widget)
PanelWidget.RemoveChildAt(Int32)
PanelWidget.Slots
Widget.ForceLayoutPrepass()
Widget.ForceVolatile(Boolean)
Widget.GetCachedGeometry(Geometry)
Widget.GetClipping()
Widget.GetDesiredSize()
Widget.GetIsEnabled()
Widget.GetOwningLocalPlayer()
Widget.GetOwningPlayer()
Widget.GetParent()
Widget.GetRenderOpacity()
Widget.GetVisibility()
Widget.HasAnyUserFocus()
Widget.HasFocusedDescendants()
Widget.HasKeyboardFocus()
Widget.HasMouseCapture()
Widget.HasMouseCaptureByUser(Int32, Int32)
Widget.HasUserFocus(PlayerController)
Widget.HasUserFocusedDescendants(PlayerController)
Widget.InvalidateLayoutAndVolatility()
Widget.IsHovered()
Widget.IsVisible()
Widget.RemoveFromParent()
Widget.ResetCursor()
Widget.SetAllNavigationRules(EUINavigationRule, Name)
Widget.SetClipping(EWidgetClipping)
Widget.SetCursor(Byte)
Widget.SetIsEnabled(Boolean)
Widget.SetKeyboardFocus()
Widget.SetNavigationRule(EUINavigation, EUINavigationRule, Name)
Widget.SetRenderAngle(Single)
Widget.SetRenderOpacity(Single)
Widget.SetRenderScale(Vector2D)
Widget.SetRenderShear(Vector2D)
Widget.SetRenderTransform(WidgetTransform)
Widget.SetRenderTransformPivot(Vector2D)
Widget.SetRenderTranslation(Vector2D)
Widget.SetToolTip(Widget)
Widget.SetToolTipText(Byte)
Widget.SetUserFocus(PlayerController)
Widget.SetVisibility(ESlateVisibility)
Widget.Slot
Widget.ToolTipWidget
Widget.RenderTransform
Widget.RenderTransformPivot
Widget.bIsVariable
Widget.bCreatedByConstructionScript
Widget.bIsEnabled
Widget.bOverride_Cursor
Widget.bIsVolatile
Widget.bHiddenInDesigner
Widget.bExpandedInDesigner
Widget.bLockedInDesigner
Widget.Cursor
Widget.RenderOpacity
Widget.Navigation
Widget.NativeBindings
Widget.DesignerFlags
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class SizeBox : ContentWidget
Remarks

Not all widgets report a desired size that you actually desire. Wrapping them in a SizeBox lets you have the Size Box force them to be a particular size.

  • Single Child
  • Fixed Size

Properties

| Improve this Doc View Source

bOverride_HeightOverride

Declaration
public bool bOverride_HeightOverride { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bOverride_MaxAspectRatio

Declaration
public bool bOverride_MaxAspectRatio { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bOverride_MaxDesiredHeight

Declaration
public bool bOverride_MaxDesiredHeight { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bOverride_MaxDesiredWidth

Declaration
public bool bOverride_MaxDesiredWidth { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bOverride_MinDesiredHeight

Declaration
public bool bOverride_MinDesiredHeight { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bOverride_MinDesiredWidth

Declaration
public bool bOverride_MinDesiredWidth { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bOverride_WidthOverride

Declaration
public bool bOverride_WidthOverride { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static SizeBox DefaultObject { get; }
Property Value
Type Description
SizeBox
| Improve this Doc View Source

HeightOverride

When specified, ignore the content's desired size and report the HeightOverride as the Box's desired height.

Declaration
public float HeightOverride { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MaxAspectRatio

Max Aspect Ratio

Declaration
public float MaxAspectRatio { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MaxDesiredHeight

When specified, will report the MaxDesiredHeight if smaller than the content's desired height.

Declaration
public float MaxDesiredHeight { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MaxDesiredWidth

When specified, will report the MaxDesiredWidth if smaller than the content's desired width.

Declaration
public float MaxDesiredWidth { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MinDesiredHeight

When specified, will report the MinDesiredHeight if larger than the content's desired height.

Declaration
public float MinDesiredHeight { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

MinDesiredWidth

When specified, will report the MinDesiredWidth if larger than the content's desired width.

Declaration
public float MinDesiredWidth { get; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class
| Improve this Doc View Source

WidthOverride

When specified, ignore the content's desired size and report the WidthOverride as the Box's desired width.

Declaration
public float WidthOverride { get; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

ClearHeightOverride()

Clear Height Override

Declaration
public void ClearHeightOverride()
| Improve this Doc View Source

ClearMaxAspectRatio()

Clear Max Aspect Ratio

Declaration
public void ClearMaxAspectRatio()
| Improve this Doc View Source

ClearMaxDesiredHeight()

Clear Max Desired Height

Declaration
public void ClearMaxDesiredHeight()
| Improve this Doc View Source

ClearMaxDesiredWidth()

Clear Max Desired Width

Declaration
public void ClearMaxDesiredWidth()
| Improve this Doc View Source

ClearMinDesiredHeight()

Clear Min Desired Height

Declaration
public void ClearMinDesiredHeight()
| Improve this Doc View Source

ClearMinDesiredWidth()

Clear Min Desired Width

Declaration
public void ClearMinDesiredWidth()
| Improve this Doc View Source

ClearWidthOverride()

Clear Width Override

Declaration
public void ClearWidthOverride()
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static SizeBox New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
SizeBox
| Improve this Doc View Source

SetHeightOverride(Single)

When specified, ignore the content's desired size and report the HeightOverride as the Box's desired height.

Declaration
public void SetHeightOverride(float InHeightOverride)
Parameters
Type Name Description
System.Single InHeightOverride
| Improve this Doc View Source

SetMaxAspectRatio(Single)

Set Max Aspect Ratio

Declaration
public void SetMaxAspectRatio(float InMaxAspectRatio)
Parameters
Type Name Description
System.Single InMaxAspectRatio
| Improve this Doc View Source

SetMaxDesiredHeight(Single)

When specified, will report the MaxDesiredHeight if smaller than the content's desired height.

Declaration
public void SetMaxDesiredHeight(float InMaxDesiredHeight)
Parameters
Type Name Description
System.Single InMaxDesiredHeight
| Improve this Doc View Source

SetMaxDesiredWidth(Single)

When specified, will report the MaxDesiredWidth if smaller than the content's desired width.

Declaration
public void SetMaxDesiredWidth(float InMaxDesiredWidth)
Parameters
Type Name Description
System.Single InMaxDesiredWidth
| Improve this Doc View Source

SetMinDesiredHeight(Single)

When specified, will report the MinDesiredHeight if larger than the content's desired height.

Declaration
public void SetMinDesiredHeight(float InMinDesiredHeight)
Parameters
Type Name Description
System.Single InMinDesiredHeight
| Improve this Doc View Source

SetMinDesiredWidth(Single)

When specified, will report the MinDesiredWidth if larger than the content's desired width.

Declaration
public void SetMinDesiredWidth(float InMinDesiredWidth)
Parameters
Type Name Description
System.Single InMinDesiredWidth
| Improve this Doc View Source

SetWidthOverride(Single)

When specified, ignore the content's desired size and report the WidthOverride as the Box's desired width.

Declaration
public void SetWidthOverride(float InWidthOverride)
Parameters
Type Name Description
System.Single InWidthOverride

Operators

| Improve this Doc View Source

Implicit(IntPtr to SizeBox)

Convert from IntPtr to UObject

Declaration
public static implicit operator SizeBox(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
SizeBox
  • Improve this Doc
  • View Source
Back to top Generated by DocFX