summaryrefslogtreecommitdiffstats
path: root/shared/src
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-06-20 12:59:14 +0300
committerHenri Sara <henri.sara@gmail.com>2017-06-20 12:59:14 +0300
commitf700c01e12ea5be80d88587a2720a03187922f2c (patch)
treee6e1cdd58cfe034769e29cdc85abc70dd1746331 /shared/src
parent086170faf858062d2d85fca7fade901a6070c2c2 (diff)
downloadvaadin-framework-f700c01e12ea5be80d88587a2720a03187922f2c.tar.gz
vaadin-framework-f700c01e12ea5be80d88587a2720a03187922f2c.zip
Enable row height and content mode settings for Tree (#9540)
* Enable row height setting for Tree * Add content mode for captions * Align expander element by default to top The content mode allows use of preformatted and HTML captions that bring value to row height Fixes #9411
Diffstat (limited to 'shared/src')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/tree/TreeRendererState.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeRendererState.java b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeRendererState.java
index 794f37895f..824d30ecc5 100644
--- a/shared/src/main/java/com/vaadin/shared/ui/tree/TreeRendererState.java
+++ b/shared/src/main/java/com/vaadin/shared/ui/tree/TreeRendererState.java
@@ -15,6 +15,7 @@
*/
package com.vaadin.shared.ui.tree;
+import com.vaadin.shared.ui.ContentMode;
import com.vaadin.shared.ui.grid.renderers.AbstractRendererState;
/**
@@ -25,4 +26,5 @@ import com.vaadin.shared.ui.grid.renderers.AbstractRendererState;
*/
public class TreeRendererState extends AbstractRendererState {
+ public ContentMode mode = ContentMode.TEXT;
}