DListView Column.SetMinWidth
From GMod Wiki
Function | |
Syntax | Panel:SetMinWidth( Integer width ) |
Description: | |
Sets the min width of a column | |
Returns: | nil |
In Object: | DListView_Column |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DListView Column.SetMinWidth]DListView Column.SetMinWidth [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets a DListView Column exactly 100 pixels wide. |
---|---|
Used on | |
Code | DListView_Column:SetMaxWidth( 100 ) DListView_Column:SetMinWidth( 100 ) |
Output | N/A |
Additional Notes
- Great for setting columns to a specific size!
- Similar to DListView_Column.SetWidth in a sense that it does set the column width BUT this example allows it to maintain a specific size ( Meaning the client wont be able to adjust it ).