diff options
author | manishpatelUK <manni.patel@gmail.com> | 2017-06-15 08:29:02 +0100 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-06-15 10:29:02 +0300 |
commit | 1eb6c9402cb8e3595c6126837bae8dd01c94f89c (patch) | |
tree | 69f691cdfa74d4b8f205588ed62a81ebefb9c2e2 | |
parent | 7a0149592fff8a9d82e8e25bbc8837ed2b4382b5 (diff) | |
download | vaadin-framework-1eb6c9402cb8e3595c6126837bae8dd01c94f89c.tar.gz vaadin-framework-1eb6c9402cb8e3595c6126837bae8dd01c94f89c.zip |
Replace FontAwesome with VaadinIcons in an example (#9534)
FontAwesome is deprecated
-rw-r--r-- | documentation/layout/layout-formlayout.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/layout/layout-formlayout.asciidoc b/documentation/layout/layout-formlayout.asciidoc index dc56bfd5d6..17eb6fb879 100644 --- a/documentation/layout/layout-formlayout.asciidoc +++ b/documentation/layout/layout-formlayout.asciidoc @@ -27,16 +27,16 @@ The following example shows typical use of [classname]#FormLayout# in a form: ---- FormLayout form = new FormLayout(); TextField tf1 = new TextField("Name"); -tf1.setIcon(FontAwesome.USER); +tf1.setIcon(VaadinIcons.USER); tf1.setRequiredIndicatorVisible(true); form.addComponent(tf1); TextField tf2 = new TextField("Street address"); -tf2.setIcon(FontAwesome.ROAD); +tf2.setIcon(VaadinIcons.ROAD); form.addComponent(tf2); TextField tf3 = new TextField("Postal code"); -tf3.setIcon(FontAwesome.ENVELOPE); +tf3.setIcon(VaadinIcons.ENVELOPE); form.addComponent(tf3); // normally comes from validation by Binder tf3.setComponentError(new UserError("Doh!")); |