aboutsummaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorAleksi Hietanen <aleksi@vaadin.com>2017-03-24 10:34:05 +0200
committerHenri Sara <henri.sara@gmail.com>2017-03-24 10:34:05 +0200
commit8fcb2da138eced17f0a6105ae39122a9d096ef0b (patch)
tree8e72ba50f792d85fe7e22e710cbe972c7a5091fb /shared
parentb32d7b0e45ddc9d7b720bc603ce5374404381a81 (diff)
downloadvaadin-framework-8fcb2da138eced17f0a6105ae39122a9d096ef0b.tar.gz
vaadin-framework-8fcb2da138eced17f0a6105ae39122a9d096ef0b.zip
Add possibility to configure the content mode of TabSheet tabs (#8920)
Fixes #8590
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java
index 7e6698ad6b..763f2cf20f 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/tabsheet/TabState.java
@@ -17,6 +17,8 @@ package com.vaadin.shared.ui.tabsheet;
import java.io.Serializable;
+import com.vaadin.shared.ui.ContentMode;
+
/**
* Shared state of a single tab in a Tabsheet or an Accordion.
*
@@ -30,6 +32,7 @@ public class TabState implements Serializable {
public boolean visible = true;
public boolean closable = false;
public String description = null;
+ public ContentMode descriptionContentMode = ContentMode.PREFORMATTED;
public String styleName;
public String key;
public String componentError;