summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2016-07-29 12:43:57 +0300
committerArtur Signell <artur@vaadin.com>2016-08-08 11:37:17 +0000
commit86e987f2930fb7d118447d1b50668ace5dfe0ff6 (patch)
tree3612162e05cee80c066fc27534eb186f5eff92d7 /shared
parentd4c2a27a78877a4e3666a844afaeeeca0d9b8477 (diff)
downloadvaadin-framework-86e987f2930fb7d118447d1b50668ace5dfe0ff6.tar.gz
vaadin-framework-86e987f2930fb7d118447d1b50668ace5dfe0ff6.zip
Moved ComboBox suggestion popup width to shared state
Change-Id: Ifdadc24ff922761eb78c4e5168f0e83fbf47108a
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java
index 6eae3fc46e..95e624779a 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/combobox/ComboBoxState.java
@@ -55,4 +55,11 @@ public class ComboBoxState extends AbstractSelectState {
*/
public FilteringMode filteringMode = FilteringMode.STARTSWITH;
+ /**
+ * Suggestion pop-up's width as a CSS string. By using relative units (e.g.
+ * "50%") it's possible to set the popup's width relative to the ComboBox
+ * itself.
+ */
+ public String suggestionPopupWidth = null;
+
}