Skip to content

Commit 8fe1c9d

Browse files
agcolomjzaefferer
authored andcommitted
Controlgroup: Small fixes to entry
Closes gh-298
1 parent c35c852 commit 8fe1c9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

entries/controlgroup.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
<xi:include href="../includes/classes-option-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
3232
<xi:include href="../includes/classes-option-example.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
3333
</option>
34-
<option name="direction" default='"horizontal"' example-value='{ direction: "vertical" }'>
34+
<option name="direction" default='"horizontal"' example-value='"vertical"'>
3535
<desc>
36-
<p>By default, controlgroup displays its widget's in a horizontal layout. Use this option to use a vertical layout instead.</p>
36+
<p>By default, controlgroup displays its controls in a horizontal layout. Use this option to use a vertical layout instead.</p>
3737
</desc>
3838
<type name="String" />
3939
</option>
4040
<xi:include href="../includes/widget-option-disabled.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
4141
<option name="onlyVisible" default="true" example-value="false">
42-
<desc>Sets whether to exclude invisible children in the assignment of rounded corners. When set to false, all children of a controlgroup are taken into account when assigning rounded corners, including hidden children. Thus, if, for example, the controlgroup's first child is hidden, the controlgroup will, in effect, not have rounded corners on the top edge.</desc>
42+
<desc>Sets whether to exclude invisible children in the assignment of rounded corners. When set to false, all children of a controlgroup are taken into account when assigning rounded corners, including hidden children. Thus, if, for example, the controlgroup's first child is hidden and the default horizontal layout is applied, the controlgroup will, in effect, not have rounded corners on the left edge. Likewise, if the controlgroup has a vertical layout and its first child is hidden, the controlgroup will not have rounded corners on the top edge.</desc>
4343
<type name="Boolean" />
4444
</option>
4545
<option name="items">
@@ -51,7 +51,7 @@
5151
"spinner": ".ui-spinner-input"
5252
}</default>
5353
<desc>
54-
Which descendant elements to initialize as their respective widgets. Two elements have special behaviour:
54+
Which descendant elements to initialize as their respective widgets. Two elements have special behavior:
5555
<ul>
5656
<li><code>controlgroupLabel</code>: Any elements matching the selector for this will be wrapped in a span with the <code>ui-controlgroup-label-contents</code> class.</li>
5757
<li><code>spinner</code>: This uses a class selector as the value. Requires either adding the class manually or initializing the spinner manually. Can be overridden to use <code>input[type=number]</code>, but that also requires custom CSS to remove the native number controls.</li>

0 commit comments

Comments
 (0)