// 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;
}
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
// 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 {
/*