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 /client | |
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 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/ui/VTabsheet.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/main/java/com/vaadin/client/ui/VTabsheet.java b/client/src/main/java/com/vaadin/client/ui/VTabsheet.java index 8fbd3bcd74..ee9ef52154 100644 --- a/client/src/main/java/com/vaadin/client/ui/VTabsheet.java +++ b/client/src/main/java/com/vaadin/client/ui/VTabsheet.java @@ -73,7 +73,6 @@ import com.vaadin.shared.ComponentConstants; import com.vaadin.shared.EventId; import com.vaadin.shared.communication.FieldRpc.FocusAndBlurServerRpc; import com.vaadin.shared.ui.ComponentStateUtil; -import com.vaadin.shared.ui.ContentMode; import com.vaadin.shared.ui.tabsheet.TabState; import com.vaadin.shared.ui.tabsheet.TabsheetServerRpc; import com.vaadin.shared.ui.tabsheet.TabsheetState; @@ -340,8 +339,8 @@ public class VTabsheet extends VTabsheetBase if (tabState.description != null || tabState.componentError != null) { setTooltipInfo(new TooltipInfo(tabState.description, - ContentMode.PREFORMATTED, tabState.componentError, - this)); + tabState.descriptionContentMode, + tabState.componentError, this)); } else { setTooltipInfo(null); } |