Derma Category

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

self.itemsList = vgui.Create("DPanelList", self);
self.itemsList:StretchToParent(4, 4, 12, 44);

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

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



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


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

What do you mean?

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

Nah i mean more like this:

If you can’t see the picture here is a link:

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

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

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.