SizeToContents not resizing at all?

I’m trying to make this DPanelList resize to the number of items added to it but it refuses to. I’m at a loss.



DermaList = vgui.Create( "DPanelList", WeaponsPanel )
DermaList:EnableHorizontal(true)
DermaList:EnableVerticalScrollbar(true)
DermaList:SetPadding(5)
DermaList:SetSpacing(5)
DermaList:SetPos(0,35)	
	 
Weapons = { "hi", "hi", "hi" }
for _,Weapon in pairs(Weapons) do
	local Weapons = vgui.Create("SpawnIcon")
	Weapons:SetModel(Weapon)
	DermaList:AddItem(Weapons)
end

DermaList:SizeToContents()

also if i set DermaList:EnableVerticalScrollbar(false) the vertical scroll bar still shows up.

Anyone else hate derma?