public void setMinimumButtonSize(Supplier<? extends @NotNull Dimension> size) {
    myMinimumButtonSizeFunction = size;
    updateMinimumSize();
  }
public void setMinimumButtonSize(Supplier<? extends @NotNull Dimension> size)