AAS:Cards

A simple model card derived of a DPanel

PANEL:RemoveButton()

Delete the buttons at the right of the card

PANEL:AddItemView(itemScroll, accessoriesFrame, itemContainer, tbl)

Setup the card model, and add some informations on it

Types

Arguments

Descriptions

Optional

itemScroll

The card linked scroll

accessoriesFrame

The card linked frame

itemContainer

The card linked container (like a

tbl

The card linked item

Example:

local card = vgui.Create("AAS:Cards", accessoriesFrame)
card:AddItemView(scroll, accessoriesFrame, iconLayout, AAS.GetTableById(1))

Output:

Last updated

Was this helpful?