Garry's Mod Wiki



A panel list with a custom vertical scroll bar that doesn't have up/down buttons and has a momentum to scrolling.

We advise against using this. It may be changed or removed in a future update. You should use DScrollPanel instead


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


Example usage of the panel

local frame = vgui.Create( "DFrame" ) frame:SetSize( 300, 500 ) frame:Center() frame:MakePopup() local pnl = frame:Add( "PanelList" ) pnl:Dock( FILL ) pnl:EnableVerticalScrollbar() for i = 0, 100 do local button = pnl:Add( "DButton" ) pnl:AddItem( button ) end