Using Scrollpanel as a hud

Hi, i am trying to Get rid of the Black Frame in my hitlist and use the rest as a hud. The hitmenu looks like this. I would like to take away the Grey frame, and leave the white boxes in the top left corner Like a hud. Please help me!

https://dl.dropboxusercontent.com/u/90648204/screenshot2.png


	local width, height = ScrW() * 0.175, ScrH() * 0.4;

	local frame = vgui.Create("DFrame");
	frame:SetSize(width, height);
	frame:SetTitle("Hit List by pablo67340");
	frame:MakePopup();

	local container = vgui.Create("DScrollPanel", frame);
	container:Dock(FILL);

	local top = 0;

	for k, v in pairs(RP_HITLIST) do
		if ( IsValid(k) ) then
			if (top < v) then
				top = v;
			end;
		end;
	end;

	for k, v in pairs(RP_HITLIST) do
		if ( IsValid(k) ) then
			local panel = container:Add("DPanel");
			panel:Dock(TOP);
			panel:DockMargin(0, 0, 0, 4);
			panel:SetTall(36);

			local name = vgui.Create("DLabel", panel);
			name:SetText( k:Name() );
			name:SetFont("cn_Medium");
			name:SetContentAlignment(4);
			name:SetPos(40, 8);
			name:SetTextColor( Color(125, 125, 125) );
			name:SetWide( (width * 0.66) - 40 );

			local amount = v;
			local value = (amount / top) * 255;

			local pay = panel:Add("DLabel");
			pay:SetText("$"..amount);
			pay:SetFont("DermaDefaultBold");
			pay:SetContentAlignment(6);
			pay:Dock(RIGHT);
			pay:DockMargin(5, 5, 5, 5)
			pay:SetTextColor( Color(255 - value, value, 25) );
			pay:SetExpensiveShadow(1, color_black);

			local avatar = vgui.Create("AvatarImage", panel);
			avatar:SetPos(2, 2);
			avatar:SetSize(32, 32);
			avatar:SetPlayer(k);

			container:AddItem(panel);

Remove the DFrame.

I do, But then the ScrollPanel Moves to the top of my screen and stretches all the way to the right, Becuase the Dframe is the parent. Im not sure how to break away from that

Change
vgui.Create(“DScrollPanel”, frame)
to
vgui.Create(“DScrollPanel”)

the second one is the parent.

[editline]today[/editline]
Oh, and remove the Dock(). Set the size manually with :SetSize()

Now, It makes the frame Which is now empy, And it still makes the scrollpanel Stretch on the top of my screen

https://dl.dropboxusercontent.com/u/90648204/screenshot111.png

You sure you made that hitmenu?

The image above dates back to January 2013.

No i found it on a post on facepunch or something

Edit: I never claimed to making it either i just said pablo67340 for my server because i hate advertising. i will change it back if you would like, im just asking for help to change the panel

Yet it says Made by pablo67340 at the top?

I have changed it to Just “Hitlist”. I am sorry for the infringment. But i am still looking for help (if anyone is willing to)

If you want to just remove the grey panel but keep the white boxes that say the player name and avatar with a price on it then:

Not sure but couldnt you just add the PANEL:Paint() and then leave it empty so it draws the panels children but not the actual panel, like



local frame = vgui.Create("DFrame");
frame:SetSize(width, height);
frame:SetTitle("Hit List by pablo67340");
frame:MakePopup();
function frame:Paint( w, h)
end



Or couldnt you do



frame:SetVisible ( false )


Havent tested it though.