aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal
diff options
context:
space:
mode:
authorJohn Alhroos <john.ahlroos@itmill.com>2010-05-12 11:11:56 +0000
committerJohn Alhroos <john.ahlroos@itmill.com>2010-05-12 11:11:56 +0000
commit611db43d24caeba586404c21994bab90293a2684 (patch)
treede0fa951a9ea3cf310e7fb180a85b67598f5ca75 /src/com/vaadin/terminal
parent359d4c5802c6dc5ebf1336e2823305f9674f89a0 (diff)
downloadvaadin-framework-611db43d24caeba586404c21994bab90293a2684.tar.gz
vaadin-framework-611db43d24caeba586404c21994bab90293a2684.zip
Fix for #4144
svn changeset:13171/svn branch:6.3
Diffstat (limited to 'src/com/vaadin/terminal')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VFilterSelect.java5
1 files changed, 4 insertions, 1 deletions
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