code: protected void setHeight() {
  
          if (m_categoryField.getValuesSet() > 0) {
              m_height = (m_categoryField.getValuesSet() * 26) + 4;
  
              if (m_height > MAX_HEIGHT) {
                  m_height = MAX_HEIGHT;
                  m_categoryField.getScrollPanel().setResizable(true);
              } else {
                  m_categoryField.getScrollPanel().setResizable(false);
              }
          } else {
              m_height = DEFAULT_HEIGHT;
  
              m_categoryField.getScrollPanel().setResizable(false);
          }
  
          m_categoryField.setHeight(m_height);
  
      }
docs: Generates the right height for the view.<p>