docs: public int getViewSize() {
          if(viewSize > 0) {
              return viewSize;
          }
          if(direction == Direction.HORIZONTAL) {
              return getSize().getColumns();
          }
          else {
              return getSize().getRows();
          }
      }