Skip to content

pyui.set_control_related_right

fabian-flassig edited this page Jul 8, 2026 · 2 revisions

Sets whether a control is laid out as related to the control to its right. This influences how the automatic dialog layout groups and spaces the two controls (see Dialog Layout).

pyui.set_control_related_right(control [,related])
control:set_control_related_right([related])

Parameters

Type Description
control control_handle Control handle
related boolean Optional: whether the control is related to its right neighbour, default: true

Return value

None

See also

Control Gallery, Dialog Layout, set_control_related_below, equalize_column_widths

Clone this wiki locally