List of usage examples for com.google.gwt.query.client GQuery width
public GQuery width(int width)
From source file:org.kaaproject.avro.ui.gwt.client.widget.choosen.AvroChoosenListBox.java
License:Apache License
public static void setChoosenSearchFieldWidth(ChosenListBox box, String width) { ChosenImpl impl = $(box.getElement()).data(CHOSEN_DATA_KEY, ChosenImpl.class); if (impl != null) { GQuery searchfield = impl.getContainer().find("li." + avroChoosenResources.css().searchField()).first(); searchfield.width(width); GQuery searchFieldInput = searchfield.find("input." + avroChoosenResources.css().defaultClass()) .first();//from w w w. j a v a 2 s. c o m if (searchFieldInput != null) { searchFieldInput.width(width); } } }