public static void configListRendererFlexibleHeight(SelectablePanel selectablePanel) {
    int leftRightInset = JBUI.CurrentTheme.Popup.Selection.LEFT_RIGHT_INSET.get();
    Insets innerInsets = JBUI.CurrentTheme.Popup.Selection.innerInsets();
    //noinspection UseDPIAwareBorders
    selectablePanel.setBorder(new EmptyBorder(innerInsets.top, innerInsets.left + leftRightInset, innerInsets.bottom,
                              innerInsets.right + leftRightInset));
    selectablePanel.setSelectionArc(JBUI.CurrentTheme.Popup.Selection.ARC.get());
    //noinspection UseDPIAwareInsets
    selectablePanel.setSelectionInsets(new Insets(0, leftRightInset, 0, leftRightInset));
  }
public static void configListRendererFlexibleHeight(SelectablePanel selectablePanel)