pyui.create_standalone_label - pytha-3d-cad/pytha-lua-api GitHub Wiki
Create a label or static text that is not related to the next control. This function will result in a slightly different control layout than create_label as the latter assumes that the label is related to the next control if they are next to each other.
pyui.create_standalone_label(dialog, col_spec [,text [, options]])
dialog:create_standalone_label(col_spec [,text [, options]])
Parameters
| Type | Description | |
|---|---|---|
dialog |
dialog_handle |
Dialog where the control is created |
col_spec |
integer or {first, last} |
Index of the column or specification of the column-span, where the control is placed. |
text |
string |
Initial text-content of the control |
options |
{...} |
Table of options |
Options
align: Optional alignment of the text"left","center"or"right"
Return value
| Type | Description |
|---|---|
control_handle |
A handle to the newly created control |
See also
Control Gallery, set_control_text, create_label, create_text_display, create_text_box