From: John Alhroos Date: Wed, 12 May 2010 11:11:56 +0000 (+0000) Subject: Fix for #4144 X-Git-Tag: 6.7.0.beta1~1670^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=611db43d24caeba586404c21994bab90293a2684;p=vaadin-framework.git Fix for #4144 svn changeset:13171/svn branch:6.3 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java index 8909e91705..57c1cbdb48 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java @@ -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