EditBox:SetTextInsets
Jump to navigation
Jump to search
Sets the amount of padding applied to the edit box text.
EditBox:SetTextInsets(left, right, top, bottom)
Arguments
- left
- number : uiUnit - Units of padding to apply to the left edge of the edit box.
- right
- number : uiUnit - Units of padding to apply to the right edge of the edit box.
- top
- number : uiUnit - Units of padding to apply to the top edge of the edit box.
- bottom
- number : uiUnit - Units of padding to apply to the bottom edge of the edit box.
Details
- Positive values for the parameters shrink the space used to display text within the edit box.