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 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

Page Links

Special Pages



Render Time: 87ms

DB GetPage 17
Generate Html 4
SaveChanges (1) 46
Render Body 0
Render Sidebar 18