Garry's Mod Wiki

DForm:AddItem

DForm:AddItem( Panel left, Panel right = nil )

Description

Adds one or two items to the DForm. If this method is called with only one argument, it is added to the bottom of the form. If two arguments are passed, they are placed side-by-side at the bottom of the form.

Internally, this function is used by the various DForm functions to, for example, add labels to the left of buttons.

Arguments

1 Panel left
Left-hand element to add to the DForm.
2 Panel right = nil
Right-hand element to add to the DForm.

Page Links


Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 41
Generate Html 2
SaveChanges (1) 12
Render Body 0
Render Sidebar 13