]> source.dussan.org Git - vaadin-framework.git/commitdiff
Reverted changeset 13146
authorJohn Alhroos <john.ahlroos@itmill.com>
Wed, 12 May 2010 05:18:06 +0000 (05:18 +0000)
committerJohn Alhroos <john.ahlroos@itmill.com>
Wed, 12 May 2010 05:18:06 +0000 (05:18 +0000)
svn changeset:13164/svn branch:6.3

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

index a37ff06e8f4331c9006f86edbdcd92c7deda9db9..f3802b6c10f98749de9aaab2a6759a3c6e935ae6 100644 (file)
@@ -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 {
             /*