Skip to content

Class · inherits UIComponent

UIPadding

Official docs ↗

Applies padding to the borders of the parent GuiObject.

About UIPadding

UIPadding applies padding to the borders of the parent GuiObject, either as a pixel amount (Offset) or percentage of the parent's size (Scale).

Properties 4

  • PaddingBottom: UDimPadding to apply on the bottom side, relative to the parent's normal size.
  • PaddingLeft: UDimPadding to apply on the left side, relative to the parent's normal size.
  • PaddingRight: UDimPadding to apply on the right side, relative to the parent's normal size.
  • PaddingTop: UDimPadding to apply on the top side, relative to the parent's normal size.

UIPadding also has every member of UIComponent. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.