]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fix for #4144
authorJohn Alhroos <john.ahlroos@itmill.com>
Wed, 12 May 2010 07:54:43 +0000 (07:54 +0000)
committerJohn Alhroos <john.ahlroos@itmill.com>
Wed, 12 May 2010 07:54:43 +0000 (07:54 +0000)
svn changeset:13165/svn branch:6.3

src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java

index f3802b6c10f98749de9aaab2a6759a3c6e935ae6..8909e91705efcd09c8003a83aaaad35592be5b3b 100644 (file)
@@ -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