Garry's Mod Wiki

DLabel

Description

A standard Derma text label. A lot of this panels functionality is a base for button elements, such as DButton

Parent

Derives from Label.

Example

Creates a DLabel.

local Panel = vgui.Create( "DFrame" ) Panel:SetSize( 200, 200 ) Panel:Center() Panel:MakePopup() local DLabel = vgui.Create( "DLabel", Panel ) DLabel:SetPos( 40, 40 ) DLabel:SetText( "Hello, world!" )
Output:

Methods

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 2
Generate Html 5
SaveChanges (1) 9
Render Body 0
Render Sidebar 12