rojo/.cursor/rules/roblox/reference/engine/classes/UIPadding.yaml
2026-02-02 12:08:47 -06:00

99 lines
2.6 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: UIPadding
type: class
memory_category: Instances
summary: |
Applies padding to the borders of the parent `Class.GuiObject`.
description: |
`Class.UIPadding` applies padding to the borders of the parent
`Class.GuiObject`, either as a pixel amount (`Datatype.UDim.Offset|Offset`) or
percentage of the parent's size (`Datatype.UDim.Scale|Scale`).
code_samples: []
inherits:
- UIComponent
descendants: []
tags: []
deprecation_message: ''
properties:
- name: UIPadding.PaddingBottom
summary: |
Padding to apply on the bottom side, relative to the parent's normal size.
description: |
Padding to apply on the bottom side, relative to the parent's normal size.
code_samples: []
type: UDim
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Behavior
serialization:
can_load: true
can_save: true
capabilities:
- UI
- name: UIPadding.PaddingLeft
summary: |
Padding to apply on the left side, relative to the parent's normal size.
description: |
Padding to apply on the left side, relative to the parent's normal size.
code_samples: []
type: UDim
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Behavior
serialization:
can_load: true
can_save: true
capabilities:
- UI
- name: UIPadding.PaddingRight
summary: |
Padding to apply on the right side, relative to the parent's normal size.
description: |
Padding to apply on the right side, relative to the parent's normal size.
code_samples: []
type: UDim
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Behavior
serialization:
can_load: true
can_save: true
capabilities:
- UI
- name: UIPadding.PaddingTop
summary: |
Padding to apply on the top side, relative to the parent's normal size.
description: |
Padding to apply on the top side, relative to the parent's normal size.
code_samples: []
type: UDim
tags: []
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Behavior
serialization:
can_load: true
can_save: true
capabilities:
- UI
methods: []
events: []
callbacks: []