UIPadding
Adds padding inside an interface element.
- Creatable
Instance.new("UIPadding")- Inherits
- UIComponentUIBaseInstance
- Replication
- Standard
Behavior
UIPadding adds padding inside an interface element.
Summary
The space between the parent's bottom edge and its contents.
The space between the parent's left edge and its contents.
The space between the parent's right edge and its contents.
The space between the parent's top edge and its contents.
Returns this instance if it is an ExecutionGroup.
Properties
PaddingBottom
The space between the parent's bottom edge and its contents.
PaddingLeft
The space between the parent's left edge and its contents.
PaddingRight
The space between the parent's right edge and its contents.
PaddingTop
The space between the parent's top edge and its contents.
Methods
GetExecutionGroup
UIPadding:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying