code: public void setContentMinHeight(int height) {
  
          if ((0.9 * Page.getCurrent().getBrowserWindowHeight()) < height) {
              m_contentPanel.getContent().setHeight(height + "px");
          } else {
              m_contentPanel.getContent().setHeight("100%");
          }
      }
docs: Sets the height of the content to a given min Height or 100%.<p>
  
  @param height minimal height.