set_can_shrink


Description:

[ Version ( since = "4.12" ) ]
public void set_can_shrink (bool can_shrink)

Sets whether the button size can be smaller than the natural size of its contents.

For text buttons, setting can_shrink to true will ellipsize the label.

For icons and custom children, this function has no effect.

Parameters:

this

a button

can_shrink

whether the button can shrink