DForm/AddItem

From Garry's Mod
Jump to: navigation, search
 DForm:AddItem( )

DescriptionPanelFunc

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

Panel left

Left-hand element to add to the DForm.

Arguments

Panel right=nil

Right-hand element to add to the DForm.
Personal tools
Navigation