@Override
    void updateLayout(int width) {
      int itemCount = myCategory.getEmoji().size();
      setPreferredSize(new Dimension(width, yGridToVisible((itemCount + myItemsPerRow - 1) / myItemsPerRow) + myPadding.bottom));
    }
@Override
    void updateLayout(int width)