Java Code Examples for

The following are Jave code examples for showing how to use setHeight() of the class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: unitimes   File:   Source Code and License Vote up 5 votes
public void setRestWidget(Widget rest) {
	HorizontalPanel panel = (HorizontalPanel)getWidget();
	panel.remove(panel.getWidgetCount() - 1);
	panel.setCellWidth(rest, "100%");
	setStyleName(rest.getElement().getParentElement(), "gwt-TabBarRest-wrapper");
Example 2
Project: empiria.player   File:   Source Code and License Vote up 4 votes
public void setPreloaderSize(int width, int height) {
    Widget containerWidget = asWidget();
    containerWidget.setWidth(width + "px");
    containerWidget.setHeight(height + "px");