I am trying to add a label to indicate volume, but its show up as a white box. What am I doing wrong?
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 50,50 )
DermaPanel:SetSize( 200, 200 )
DermaPanel:SetTitle( "TCHalo Radio" )
DermaPanel:SetVisible( true )
DermaPanel:SetDraggable( true )
DermaPanel:ShowCloseButton( true )
DermaPanel:MakePopup()
local Label1 = vgui.Create("Label", DermaPanel)
Label1:SetPos(10,80)
Label1:SetText("Volume")
Label1:SizeToContents()
[editline]24th September 2013[/editline]
Sorry, I figured it out myself. I needed to use a DLabel instead of a Label.
I’m not sure how to lock/delete this thread