From: John Alhroos Date: Wed, 12 May 2010 07:54:43 +0000 (+0000) Subject: Fix for #4144 X-Git-Tag: 6.7.0.beta1~1670^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a6b6bfa74069740d7cece86bf626016551a08eef;p=vaadin-framework.git Fix for #4144 svn changeset:13165/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 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