How do I apply a custom skin to the menu bar of a VGUI? I'm talking about the area that has the title and the X button.
That's only derma, garry makes his DFrames look like that, if you create your own VGUI element it will not have that.
Overwrite the Paint function of the frame.
Use a skin
[b][url=http://wiki.garrysmod.com/?title=Derma.DefineSkin]Derma.DefineSkin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
and then use
[b][url=http://wiki.garrysmod.com/?title=Panel.SetSkin]Panel.SetSkin [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
to set it
Yeah, I just drew a textured rect over it. Thanks.
Sorry, you need to Log In to post a reply to this thread.