Example usage for com.google.gwt.dom.client SelectElement setSize

List of usage examples for com.google.gwt.dom.client SelectElement setSize

Introduction

In this page you can find the example usage for com.google.gwt.dom.client SelectElement setSize.

Prototype

public void setSize(int size) 

Source Link

Document

Number of visible rows.

Usage

From source file:gwtquery.plugins.enhance.client.gwt.ListBoxWidgetFactory.java

License:Apache License

protected void copyAttributes(SelectElement source, SelectElement destination) {
    destination.setDisabled(source.isDisabled());
    destination.setName(source.getName());
    destination.setSelectedIndex(source.getSelectedIndex());
    destination.setSize(source.getSize());

}