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

37 lines
1,004 B
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: TextXAlignment
type: enum
summary: |
Determines horizontal alignment of text.
description: |
Determines horizontal alignment of text.
Used by `Class.TextLabel.TextXAlignment|TextLabel`,
`Class.TextButton.TextXAlignment|TextButton`, and
`Class.TextBox.TextXAlignment|TextBox`.
code_samples: []
tags: []
deprecation_message: ''
items:
- name: Left
summary: |
Alignment starts at the left side of the GUI object.
value: 0
tags: []
deprecation_message: ''
- name: Right
summary: |
Alignment starts at the right side of the GUI object.
value: 1
tags: []
deprecation_message: ''
- name: Center
summary: |
Aligned starts at the center of the GUI object and spreads equally left
and right.
value: 2
tags: []
deprecation_message: ''