Font size with DLabel?

Can i set the font size of a DLabel?

No, but you can change the font to a bigger one. **[Panel.SetFont](** and

That sets the font of all text in the panel, Sparky-Z. You could also just do something like this:
( I am using Trebuchet24 from working_with_fonts )

function MyMenu()
local menu = vgui.Create( “DFrame” )
menu:SetSize( 500, 500 )
menu:SetDraggable( false )
menu:ShowCloseButton( true )

local text = vgui.Create( “DLabel”, menu )
text:SetText( “Text here” )
text:SetPos( 20, 20 )
text:SetFont( “Trebuchet24” )
text:SetTextColor( Color( 255, 255, 255, 255 ) )
With that way, you can set the font of each DLabel seperatly.

Woops, my bad. I thought I had put DLabel.SetFont .