Exemple #1
0
 public void onResize(ResizeEvent event) {
   scrollPanel.setHeight((event.getHeight() - 20) + "px");
 }
Exemple #2
0
 @Override
 public void onResize(ResizeEvent event) {
   int height = event.getHeight();
   onWindowResized(height);
 }
 /**
  * @see
  *     com.google.gwt.event.logical.shared.ResizeHandler#onResize(com.google.gwt.event.logical.shared.ResizeEvent)
  */
 @Override
 public void onResize(ResizeEvent event) {
   int width = event.getWidth();
   int height = event.getHeight();
   resizeMainView(width, height);
 }