Widen the search box to 70 characters

Search strings can get pretty long now that we have many operators
that are supported, and we use them for every change listing view
we support in the web UI.  Widen the box out to 70 makes it more
likely that the entire query string will fit.

Change-Id: If855fa17ee700a85eb770c35715e1c6b51b3c934
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2010-07-26 12:52:19 -07:00
parent 5cace7bb7b
commit 7c13a58fd3

View File

@@ -43,7 +43,7 @@ class SearchPanel extends Composite {
setStyleName(Gerrit.RESOURCES.css().searchPanel());
searchBox = new NpTextBox();
searchBox.setVisibleLength(46);
searchBox.setVisibleLength(70);
searchBox.setText(Gerrit.C.searchHint());
searchBox.addStyleName(Gerrit.RESOURCES.css().inputFieldTypeHint());
searchBox.addFocusHandler(new FocusHandler() {