code: public void redraw() {
  		if (isAttached()) {
  			int width = getElement().getClientWidth();
  			int height = getElement().getClientHeight();
  			onResize(width, height);
  		}
  	}
docs: Redraw the progress bar when something changes the layout.