Garry's Mod Wiki

Revision Difference

DLabelEditable#513730

<panel>⤶ <parent>DLabel</parent>⤶ <description>⤶ An editable <page>DLabel</page>, double click on it to edit.⤶ ⤶ This is used in the spawnmenu spawnlist headers.⤶ </description>⤶ ⤶ </panel>⤶ ⤶ ⤶ <example>⤶ <description>Creates a DLabelEditable.</description>⤶ <code>⤶ local EditLabel = vgui.Create( "DLabelEditable" )⤶ EditLabel:SetPos( 40, 40 )⤶ EditLabel:SetSize( 70, 30)⤶ EditLabel:SetText( "Hello, world!" )⤶ </code>⤶ ⤶ </example>⤶ ⤶