From 93767cf76b2fb14c65b758066c67fc8b48cc2eeb Mon Sep 17 00:00:00 2001 From: Marko Gronroos Date: Fri, 20 May 2016 14:44:42 +0300 Subject: Scaled images for print edition and fixed errors up to the beginning of layouts chapter (#19835). Also major revision of Tree, CustomField, and layouts overview. Change-Id: I19f5e9511b83f953ce4707f324d81c2821ebb69d --- documentation/components/components-textarea.asciidoc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'documentation/components/components-textarea.asciidoc') diff --git a/documentation/components/components-textarea.asciidoc b/documentation/components/components-textarea.asciidoc index bf5288ec5c..2f2047b7fe 100644 --- a/documentation/components/components-textarea.asciidoc +++ b/documentation/components/components-textarea.asciidoc @@ -23,7 +23,7 @@ The following example creates a simple text area: ---- // Create the area TextArea area = new TextArea("Big Area"); - + // Put some content in it area.setValue("A row\n"+ "Another row\n"+ @@ -35,7 +35,7 @@ The result is shown in <>. [[figure.components.textarea]] .[classname]#TextArea# Example -image::img/textarea-basic.png[] +image::img/textarea-basic.png[width=40%, scaledwidth=50%] You can set the number of visible rows with [methodname]#setRows()# or use the regular [methodname]#setHeight()# to define the height in other units. If the @@ -76,7 +76,7 @@ The result is shown in <>. [[figure.components.textarea.wordwrap]] .Word Wrap in [classname]#TextArea# -image::img/textarea-wordwrap.png[] +image::img/textarea-wordwrap.png[width=60%, scaledwidth=100%] [[components.textarea.css]] @@ -90,7 +90,3 @@ image::img/textarea-wordwrap.png[] The HTML structure of [classname]#TextArea# is extremely simple, consisting only of an element with [literal]#++v-textarea++# style. - -CSS Styling - - -- cgit v1.2.3