Derma Category

This is the currently code:
[lua]function PANEL:Init()
self:SetSize(gm.menu.width, gm.menu.height - 8);

self.itemsList = vgui.Create("DPanelList", self);
self.itemsList:SizeToContents();
self.itemsList:SetPadding(2);
self.itemsList:SetSpacing(3);
self.itemsList:StretchToParent(4, 4, 12, 44);
self.itemsList:EnableVerticalScrollbar();

local text = vgui.Create("gm_Other_Text", self);

text:SetText( {
	"TEST PAGE",
	"",
	"test page.",
	"",
	"test",
	"test",
} );

self.itemsList:AddItem(text);

end;[/lua]

I wanna make a category so it would be like this:


Category
TEXT

i can’t find anything about it on wiki ( Guide to Derma )
ive tryed a few things but i cant get it working so i was wondering if you could help me.

EDIT: Problem solved, i found an solution.

Are you referring to something like http://wiki.garrysmod.com/?title=DPropertySheet

What do you mean?

Do you want to make a list, tabs, or something else.

Nah i mean more like this:

http://img34.imageshack.us/img34/2894/derma.png

If you can’t see the picture here is a link:
http://img34.imageshack.us/img34/2894/derma.png

You need to Derma Panels instead, its not that easy in a simple command like vgui.Create(‘Category’)

Oh… i though i just could make like a new SetText, and in the text just type “Category”.
But anyways thanks for helping.

You can use DLabel:Center()

I am still confused on what you are asking.

Do you mean something like this?

if so, go here http://wiki.garrysmod.com/?title=DCollapsibleCategory

No its not that :/…
Hmm i don’t know how i could explain it more. Here let me make a picture:

http://img842.imageshack.us/img842/8472/derma2.png

The blue is where the text is.
The black is where the category is.

Now that is what i wanna make, and if you dont understand it now there is not really much
more i can explain :/.

EDIT: I found an solution.