Skip to content

pyui.set_column_stretch

daniel-flassig edited this page Jul 3, 2020 · 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)

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