From 261cc183e8309c826afd7bf3dc85fa63d02b17f1 Mon Sep 17 00:00:00 2001 From: Marko Gronroos Date: Fri, 1 Jul 2016 11:48:12 +0300 Subject: Scaled images and fixes to Grid, FormLayout, and Slider docs. #19835 Change-Id: I6007358e1240c458d3b9148d4def6729d4c42aac Updated a Slider diagram. #19835 Change-Id: I4d0a75b5f85bcce37e8579b7544672c2433f50f1 --- documentation/layout/layout-formlayout.asciidoc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'documentation/layout/layout-formlayout.asciidoc') diff --git a/documentation/layout/layout-formlayout.asciidoc b/documentation/layout/layout-formlayout.asciidoc index b43329e456..487d0ac9d0 100644 --- a/documentation/layout/layout-formlayout.asciidoc +++ b/documentation/layout/layout-formlayout.asciidoc @@ -18,8 +18,7 @@ shown for each field. The field captions can have an icon in addition to the text. [classname]#FormLayout# is an ordered layout and much like [classname]#VerticalLayout#. For description of margins, spacing, and other features in ordered layouts, see -<>. +<>. The following example shows typical use of [classname]#FormLayout# in a form: @@ -32,11 +31,11 @@ tf1.setIcon(FontAwesome.USER); tf1.setRequired(true); tf1.addValidator(new NullValidator("Must be given", false)); form.addComponent(tf1); - + TextField tf2 = new TextField("Street address"); tf2.setIcon(FontAwesome.ROAD); form.addComponent(tf2); - + TextField tf3 = new TextField("Postal code"); tf3.setIcon(FontAwesome.ENVELOPE); tf3.addValidator(new IntegerRangeValidator("Doh!", 1, 99999)); @@ -91,9 +90,4 @@ shown as a part of the caption column. For information on setting margins and spacing, see also <> and -<>. - - - - +<>. -- cgit v1.2.3