Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
rexrainbow committed Aug 29, 2023
1 parent ebbc2c8 commit d10400a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/docs/ui-buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ var buttons = scene.rexUI.add.buttons({
clickInterval: 100
},
// space: 0, // deprecated
// space: { left: 0, right:0, top:0, bottom:0, item:0 },
// name: '',
Expand Down Expand Up @@ -156,6 +157,7 @@ var buttons = scene.rexUI.add.buttons({
- An object: Padding of button game objects.
- `space.top`, `space.bottom`, `space.left`, `space.right` : Padding around bottons.
- `space.item` : Space between 2 button game objects.
- A number: Deprecated, space between 2 button game objects.
- `name` : Set name of this game object.
- `draggable` : Set `true` to drag top-most object.
- `sizerEvents` : Set `true` to fire [sizer events](ui-basesizer.md#events). Default value is `false`.
Expand Down
2 changes: 1 addition & 1 deletion docs/site/search/search_index.json

Large diffs are not rendered by default.

Binary file modified docs/site/sitemap.xml.gz
Binary file not shown.
2 changes: 2 additions & 0 deletions docs/site/ui-buttons/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9842,6 +9842,7 @@ <h3 id="add-buttons-object">Add Buttons object<a class="headerlink" href="#add-b
<span class="w"> </span><span class="nx">clickInterval</span><span class="o">:</span><span class="w"> </span><span class="mf">100</span>
<span class="w"> </span><span class="p">},</span>

<span class="w"> </span><span class="c1">// space: 0, // deprecated </span>
<span class="w"> </span><span class="c1">// space: { left: 0, right:0, top:0, bottom:0, item:0 },</span>

<span class="w"> </span><span class="c1">// name: &#39;&#39;,</span>
Expand Down Expand Up @@ -9916,6 +9917,7 @@ <h3 id="add-buttons-object">Add Buttons object<a class="headerlink" href="#add-b
<li><code>space.item</code> : Space between 2 button game objects.</li>
</ul>
</li>
<li>A number: Deprecated, space between 2 button game objects. </li>
</ul>
</li>
<li><code>name</code> : Set name of this game object.</li>
Expand Down

0 comments on commit d10400a

Please sign in to comment.