Files
Basalt/docs/docs1_6/objects/Frame/addLayout.md
Robert Jelic d4c72514ef Docs 1.6
Accidentally uploaded outdated 1.6 docs
2023-05-01 16:28:46 +02:00

348 B

addLayout

Adds a new XML Layout into your frame.

Parameters:

  1. string Path to your layout

Returns:

  1. frame The frame being used

Usage:

  • Creates a new base frame and adds the mainframe.xml layout
local myFrame = basalt.createFrame():addLayout("mainframe.xml")
<frame layout="mainframe.xml"></frame>