EditBox:GetTextInsets
Jump to navigation
Jump to search
Returns the amount of padding applied to the edit box text.
left, right, top, bottom = EditBox:GetTextInsets()
Returns
- left
- number : uiUnit - Units of padding applied to the left edge of the edit box.
- right
- number : uiUnit - Units of padding applied to the right edge of the edit box.
- top
- number : uiUnit - Units of padding applied to the top edge of the edit box.
- bottom
- number : uiUnit - Units of padding applied to the bottom edge of the edit box.
Details
- Positive values indicate that the the space used to display text within the edit box was reduced.
Patch history
Patch 1.11.0 (2006-06-19): Added.