[ Version ( since = "4.12" ) ]
public bool can_shrink { get; set; }

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.