Button.canShrink

Set canShrink property.

  1. bool canShrink [@property getter]
  2. bool canShrink [@property setter]
    class Button
    @property
    void
    canShrink
    (
    bool propval
    )

Parameters

propval bool

Whether the size of the button can be made smaller than the natural size of its contents.

For text buttons, setting this property will allow ellipsizing the label.

If the contents of a button are an icon or a custom widget, setting this property has no effect.