max_width_chars


Description:

public int max_width_chars { get; set; }

The desired maximum 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](class.Label.html#text-layout) for details of how [[email protected]:width-chars] and [ [email protected]:max-width-chars] determine the width of ellipsized and wrapped labels.




2022 vala-language.org