DListView.ColumnWidth

From GMod Wiki

Jump to: navigation, search
Function
Syntax DListView.ColumnWidth( Integer )
Description:
Returns the width of the selected column ID
Returns: Integer
In Object: DListView
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DListView.ColumnWidth]DListView.ColumnWidth [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionSet the width of a column
Used onNewerClient.png
Code
local Number = Bans:AddColumn( "#" )
local Rules = Bans:AddColumn( "Rules" )
local BanTime = Bans:AddColumn( "BanTime" )
print(ListView:ColumnWidth(Number:GetColumnID()))
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox