diff options
author | John Alhroos <john.ahlroos@itmill.com> | 2010-05-12 07:54:43 +0000 |
---|---|---|
committer | John Alhroos <john.ahlroos@itmill.com> | 2010-05-12 07:54:43 +0000 |
commit | a6b6bfa74069740d7cece86bf626016551a08eef (patch) | |
tree | 8dcd326bfa072dcb254b7fecbb36783ecb9b671e | |
parent | bb5fbe0a36fd8d786b49d1cb2914099e54985373 (diff) | |
download | vaadin-framework-a6b6bfa74069740d7cece86bf626016551a08eef.tar.gz vaadin-framework-a6b6bfa74069740d7cece86bf626016551a08eef.zip |
Fix for #4144
svn changeset:13165/svn branch:6.3
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java index f3802b6c10..8909e91705 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java @@ -1157,10 +1157,7 @@ public class VFilterSelect extends Composite implements Paintable, Field, - Util.measureMarginLeft(selectedItemIcon.getElement()) : 0; int w = tbWidth + openerWidth + iconWidth; - if (suggestionPopupMinWidth > w) { - setTextboxWidth(suggestionPopupMinWidth); - w = suggestionPopupMinWidth; - } else { + if (suggestionPopupMinWidth <= w) { /* * Firefox3 has its own way of doing rendering so we need to * specify the width for the TextField to make sure it actually |