summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur <artur@vaadin.com>2017-04-13 10:52:19 +0300
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-05-08 14:46:35 +0300
commit24f7870c17cadae7d7cd1f4d1babb433ab1e2328 (patch)
tree4ad686c99c531e1d0f02aeab2a185f6b97498767 /shared
parent1eaebb8c31e95d212f4e49f2763cb51fa30e5387 (diff)
downloadvaadin-framework-24f7870c17cadae7d7cd1f4d1babb433ab1e2328.tar.gz
vaadin-framework-24f7870c17cadae7d7cd1f4d1babb433ab1e2328.zip
Correctly set ListSelect style names
Fixes #8901
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java
index a749786ae3..aae8f428da 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java
@@ -25,8 +25,9 @@ import com.vaadin.shared.ui.abstractmultiselect.AbstractMultiSelectState;
* @since 8.0
*/
public class ListSelectState extends AbstractMultiSelectState {
+ public static final String PRIMARY_STYLENAME = "v-select";
{
- primaryStyleName = "v-select";
+ primaryStyleName = PRIMARY_STYLENAME;
}
@DelegateToWidget
public int rows;