Forum und email

GtkLabel::max-width-chars

Access: Read Write
Type: int

The desired maximum width of the label, in characters.

If this property is set to -1, the width will be calculated automatically, otherwise the label will request space for no more than the requested number of characters. If the width-chars property is set to a positive value, then this property is ignored.

Defaults to -1.

Виж също: set_max_width_chars()