Hi, I am using a DFrame for a hitmenu, And i would like to change the title color because the menu is white, and by default the title is too. I would like to make the title black but i cannot figure out how.
I am currently using:
frame:SetTitle("Hitmenu by Pablo");
Any way i can color that title?
Thank you very much. This works great!
Hi, I have been trying to do this and it does not seem to work. Are there any other possible ways to change title colour? (BTW I know I am 4 years late XD)
it will work but you need to make sure self is actually your dframe, e.g.
local frame = vgui.Create( "DFrame" )
frame.lblTitle.UpdateColours = function( label, skin )
label:SetTextStyleColor( Color( 0, 0, 0 ) )
end
Thx, I'm a Gmod Lua noob right now and I am just experimenting around right now. Thanks
Sorry, you need to Log In to post a reply to this thread.