• DCollapsibleCategory Text Color
    1 replies, posted
I am trying to change the text color of a DCollapsibleCategory, I had a quick look at it's vgui file but there is nothing relating to the color of the text, just the text itself. Would I need to remake the header part of the DCollapsibleCategory or would I just add something to it?
DCollapsibleCategory uses a DCollapsibleHeader which is made off of a DButton which is made off a DLabel which contains the function SetTextColor. I've never personally gotten it to work, but you can try it. For DCollapsibleCategories, access the header using [code]category.Header[/code]
Sorry, you need to Log In to post a reply to this thread.