diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2017-03-24 10:34:05 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-03-24 10:34:05 +0200 |
commit | 8fcb2da138eced17f0a6105ae39122a9d096ef0b (patch) | |
tree | 8e72ba50f792d85fe7e22e710cbe972c7a5091fb /shared | |
parent | b32d7b0e45ddc9d7b720bc603ce5374404381a81 (diff) | |
download | vaadin-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.java | 3 |
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; |