Panel.SetTextInset

From GMod Wiki

Jump to: navigation, search
Stub.pngThis article is a stub.
You can help the GMod Wiki by expanding it.


Function
Syntax Panel:SetTextInset( Integer x, Integer y )
Description:
Set the offset for the text.
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Panel.SetTextInset]Panel.SetTextInset [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A


Additional Info

The effect of this function depends on the current content alignment.
The x argument will shift right-aligned text to the left instead of to the right.
The y argument always seems to shift the text down.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox