Java Code Examples for com.google.gwt.user.client.ui.Widget.setSize()

The following are Jave code examples for showing how to use setSize() of the com.google.gwt.user.client.ui.Widget class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: appinventor-extensions   File: MockWrapper.java   View Source Code Vote up 5 votes
/**
 * Sets the widget that is wrapped by the wrapper.
 */
protected final void initWrapper(Widget wrappedWidget) {
  // The wrapped widget should always fill up the wrapper.
  wrappedWidget.setSize("100%", "100%");
  wrapper.setWidget(wrappedWidget);
  initComponent(wrapper);
}