Click or drag to resize

ControlSizeFlagsStretchRatio Property

If the node and at least one of its neighbours uses the size flag, the parent Container will let it take more or less space depending on this property. If this node has a stretch ratio of 2 and its neighbour a ratio of 1, this node will take two thirds of the available space.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float SizeFlagsStretchRatio { get; set; }

Property Value

Type: Single
See Also