summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTatu Lund <tatu@vaadin.com>2020-01-08 16:52:44 +0200
committerAnna Koskinen <Ansku@users.noreply.github.com>2020-01-08 16:52:44 +0200
commit458de861053d7c69c04f31260f847576c2feab01 (patch)
treee37a597f3b6455d95cea9af379ddca626ca0bd2b /server
parent0701caa17560f878940bc008225806fe3cca1c9d (diff)
downloadvaadin-framework-458de861053d7c69c04f31260f847576c2feab01.tar.gz
vaadin-framework-458de861053d7c69c04f31260f847576c2feab01.zip
Added notes in JavaDoc of TEXTFIELD_INLINE_ICON (#11860)
* Added notes in JavaDoc of TEXTFIELD_INLINE_ICON Fixes https://github.com/vaadin/framework/issues/10752 and https://github.com/vaadin/framework/issues/9089
Diffstat (limited to 'server')
-rw-r--r--server/src/main/java/com/vaadin/ui/themes/ValoTheme.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java
index 3ec3b66c85..74bde7a781 100644
--- a/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java
+++ b/server/src/main/java/com/vaadin/ui/themes/ValoTheme.java
@@ -380,6 +380,11 @@ public class ValoTheme {
/**
* Move the default caption icon inside the text field. Can be combined with
* any other TextField style.
+ * <p>
+ * Note: Does not apply in FormLayout
+ * <p>
+ * Note: TextFields with inlined icons in Grid header need to be wrapped into
+ * e.g. HorizontalLayout
*/
public static final String TEXTFIELD_INLINE_ICON = "inline-icon";