public void setMinimumButtonSize(@NotNull Supplier<? extends @NotNull Dimension> size) {
    myMinimumButtonSizeSupplier = size;
    updateMinimumButtonSize();
    revalidate();
  }
public void setMinimumButtonSize(@NotNull Supplier<? extends @NotNull Dimension> size)