From: John Alhroos Date: Wed, 12 May 2010 05:18:06 +0000 (+0000) Subject: Reverted changeset 13146 X-Git-Tag: 6.7.0.beta1~1670^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bb5fbe0a36fd8d786b49d1cb2914099e54985373;p=vaadin-framework.git Reverted changeset 13146 svn changeset:13164/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 a37ff06e8f..f3802b6c10 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java @@ -621,7 +621,6 @@ public class VFilterSelect extends Composite implements Paintable, Field, // selected value has changed on the server-side. See #2119 private boolean popupOpenerClicked; private String width = null; - private String initialMeasuredWidth = null; private int textboxPadding = -1; private int componentPadding = -1; private int suggestionPopupMinWidth = 0; @@ -1145,7 +1144,7 @@ public class VFilterSelect extends Composite implements Paintable, Field, } private void updateRootWidth() { - if (width == null && initialMeasuredWidth == null) { + if (width == null) { /* * When the width is not specified we must specify width for root * div so the popupopener won't wrap to the next line and also so @@ -1173,10 +1172,6 @@ public class VFilterSelect extends Composite implements Paintable, Field, // Freeze the initial width, so that it won't change even if the // icon size changes width = w + "px"; - initialMeasuredWidth = width; - - } else if (initialMeasuredWidth != null) { - width = initialMeasuredWidth; } else { /*