Hello everyone!
I'm making my menu, but i'm stuck with a label here ><
From wiki:
// myParent = a panel
myLabel= vgui.Create("DLabel", myParent)
myLabel:SetText("I Love Gmod")
myLabel:SizeToContents() // make the control the same size as the text.
So i put it in my sheet, wich is in my derma panel( i have 7 sheets), but i can't position it :(.
What code must i enter to position the label ?
Thank you!
myLabel:SetPos(horizX,vertY)
Next time use [lua] tags.
Thank you, i will try that now :)
Sorry, you need to Log In to post a reply to this thread.