Click or drag to resize

RichTextLabelSetTableColumnExpand Method

Edits the selected column's expansion options. If expand is true, the column expands in proportion to its expansion ratio versus the other columns' ratios.

For example, 2 columns with ratios 3 and 4 plus 70 pixels in available width would expand 30 and 40 pixels, respectively.

If expand is false, the column will not contribute to the total ratio.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetTableColumnExpand(
	int column,
	bool expand,
	int ratio
)

Parameters

column
Type: SystemInt32

[Missing <param name="column"/> documentation for "M:Godot.RichTextLabel.SetTableColumnExpand(System.Int32,System.Boolean,System.Int32)"]

expand
Type: SystemBoolean

[Missing <param name="expand"/> documentation for "M:Godot.RichTextLabel.SetTableColumnExpand(System.Int32,System.Boolean,System.Int32)"]

ratio
Type: SystemInt32

[Missing <param name="ratio"/> documentation for "M:Godot.RichTextLabel.SetTableColumnExpand(System.Int32,System.Boolean,System.Int32)"]

See Also