@Override
    public Dimension preferredLayoutSize(Container parent) {
      int syncHeight = mySyncHeightHolder.preferredHeight();
      int width = getPreferredSize(myComponent).width;
      return new Dimension(width, syncHeight);
    }
@Override
    public Dimension preferredLayoutSize(Container parent)