private boolean isPopupHeightStatic() {
    if (ExperimentalUI.isNewUI()) return false;
    final int modelSize = myList.getModel().getSize();
    return modelSize > 0 && modelSize <= MAX_SIZE;
  }
private boolean isPopupHeightStatic()