Skip to content

pyui.set_column_stretch

fabian-flassig edited this page Jul 31, 2026 · 4 revisions

Sets the stretch factor for columns which determines how much columns expand when the dialog is wider than their natural width.

pyui.set_column_stretch(dialog, columns, stretch)
dialog:set_column_stretch(columns, stretch)

Parameters

Type Description
dialog dialog_handle Dialog where the control is created
column integer or {...} Column index or table of integer column indices
stretch number Stretch factor, default: 1.0

Return value

None

See also

Control Gallery, Dialog Layout, equalize_column_widths, create_label, create_text_box

Clone this wiki locally