width_chars


Description:

[ Version ( since = "2.6" ) ]
public int width_chars { get; set; }

The desired width of the label, in characters.

If this property is set to -1, the width will be calculated automatically.

See the section on text layout for details of how width_chars and max_width_chars determine the width of ellipsized and wrapped labels.




2022 vala-language.org