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

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

index 8909e91705efcd09c8003a83aaaad35592be5b3b..57c1cbdb487cc9e6e6d54f3152bc0b0caa1e54b0 100644 (file)
@@ -1157,7 +1157,10 @@ public class VFilterSelect extends Composite implements Paintable, Field,
                     - Util.measureMarginLeft(selectedItemIcon.getElement()) : 0;
 
             int w = tbWidth + openerWidth + iconWidth;
-            if (suggestionPopupMinWidth <= w) {
+            if (currentPage + 1 <= 0 && suggestionPopupMinWidth > w) {
+                setTextboxWidth(suggestionPopupMinWidth);
+                w = suggestionPopupMinWidth;
+            } else {
                 /*
                  * Firefox3 has its own way of doing rendering so we need to
                  * specify the width for the TextField to make sure it actually