Divider
sirinsidiator edited this page May 3, 2018
·
2 revisions
The divider control is used to separate sections of your settings menu. For that purpose it creates a horizontal line.
property | type | default | required | description |
---|---|---|---|---|
type | string | - | yes | The widget type of this control ("divider") |
height | number | 10 | no | The height and resulting strength of the divider |
alpha | number | 0.25 | no | The alpha value of the divider between 0 and 1 |
width | string | "full" | no | "full" or "half" width in the panel |
reference | string | - | no | A unique global reference to the control |
- none -
LAM:RegisterOptionControls(panelName, {
{
type = "divider",
reference = "MyAddonDivider"
}
})
local controls = {}
controls[#controls + 1] = {
type = "divider",
height = 15,
alpha = 0.5,
width = "half"
}
LAM:RegisterOptionControls(panelName, controls)
General
Home
Differences between v1.0 and v2.0
Getting started
LAM2 for the Experienced Author
Reference
Exposed Methods on LAM2
LAM2 callbacks
Details on LAM2 data tables
LAM2 control widgets
Resources
Addons using LAM2
External controls
DatePicker widget
OrderListBox widget
SoundSlider widget
DualListBox widget
MultiSelectDropdown widget