code: public void updateScrollbar()
  	{
  		UIComponent parent = getParent();
  		IScrollable scrollable = getScrollable();
  		int delta = 0;// hasVisibleOtherScrollbar() ? scrollThickness() : 0;
  		boolean hide = false;
  		float offset = offset();
  		if (isHorizontal())
  		{
  			if (scrollable.contentSize().width() <= parent.size().width() - delta)
  				hide = true;
  		}
  		else
  		{
  			if (scrollable.contentSize().height() <= parent.size().height() - delta)
  				hide = true;
  		}
  
  		if (hide == isEnabled() || offset < 0)
  			scrollTo(0);
  		if (offset > 1)
  			scrollTo(1);
  		//setEnabled(!hide);
  		if (autoHide)
  			setVisible(!hide);
  	}
docs: Update this {@link UIScrollBar}, hiding and disabling it if necessary, based on content size.