From 458de861053d7c69c04f31260f847576c2feab01 Mon Sep 17 00:00:00 2001 From: Tatu Lund Date: Wed, 8 Jan 2020 16:52:44 +0200 Subject: 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 --- server/src/main/java/com/vaadin/ui/themes/ValoTheme.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/src/main/java/com') 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. + *

+ * Note: Does not apply in FormLayout + *

+ * 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"; -- cgit v1.2.3