improve widget docs

This commit is contained in:
airstruck
2015-12-15 14:21:30 -05:00
parent 8d7011ca81
commit ed4e8b562a
20 changed files with 550 additions and 54 deletions

View File

@@ -599,13 +599,20 @@ associated with the widget.
<strong>align</strong>
</dt>
<dd>
Text and icon alignment. </p>
<p>Text and icon alignment. </p>
<p>Should contain a string defining vertical and horizontal alignment.
Vertical alignment is defined by either 'top', 'middle', or 'bottom',
and horizontal alignment is defined by either 'left', 'center', or 'right'.</p>
<p>For example, <code>align = &apos;top left&apos;</code>
<p>For example, <code>align = &apos;top left&apos;</code></p>
<ul>
<li>This attribute cascades.</li>
</ul>
@@ -619,11 +626,18 @@ and horizontal alignment is defined by either 'left', 'center', or 'right'.</p>
<strong>wrap</strong>
</dt>
<dd>
Wrap text onto multiple lines. </p>
<p>Wrap text onto multiple lines. </p>
<p>Should contain <code>true</code> for multiline text, or <code>false</code> or <code>nil</code>
for a single line. Even text containing line breaks will display
as a single line when this attribute is not set to <code>true</code>.
as a single line when this attribute is not set to <code>true</code>.</p>
<ul>
<li>This attribute cascades.</li>
</ul>
@@ -741,7 +755,7 @@ child widgets appear.
</div> <!-- id="main" -->
<div id="about">
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.3</a></i>
<i style="float:right;">Last updated 2015-12-07 05:47:24 </i>
<i style="float:right;">Last updated 2015-12-15 13:53:58 </i>
</div> <!-- id="about" -->
</div> <!-- id="container" -->
</body>