set Button Ignore Minimum Size
fun JComponent.setButtonIgnoreMinimumSize(buttonIgnoreMinimumSize: Boolean?)
Content copied to clipboard
Specifies whether this component or its immediate children should ignore the default (minimum) dimension for buttons. Note that RadianceButtonShaper implementations are not required to respect this call. The current implementations of the default PillButtonShaper and ClassicButtonShaper respect this setting.
Parameters
button Ignore Minimum Size
If true, the component or its immediate children will ignore the default (minimum) dimension for buttons under button shapers that respect this setting. Pass null to reset to the default behavior.