Garry's Mod Wiki



This is used internally - although you're able to use it you probably shouldn't.

A single column, used by DListView.


Derives methods, etc not listed on this page from Panel.


number DListView_Column:GetColumnID()
Gets the index used for this column.
DListView_Column:ResizeColumn( number size )
Resizes the column, additionally adjusting the size of the column to the right, if any.
DListView_Column:SetFixedWidth( number width )
Sets the fixed width of the column.
DListView_Column:SetMaxWidth( number width )
Sets the maximum width of a column.
DListView_Column:SetMinWidth( number width )
Sets the minimum width of a column.
DListView_Column:SetName( string name )
Sets the text in the column's header.
DListView_Column:SetTextAlign( number alignment )
Sets the text alignment for the column
DListView_Column:SetWidth( number width )
Sets the width of the panel.

Undocumented Methods