Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobMayer committed Aug 8, 2023
1 parent 8a765df commit 0ce5322
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Note that boolean-type attributes don't require you to put the actual true/false
- `width` - `number`: Equivilent to calling `imagewidget.setWidth(...)`.
- `height` - `number`: Equivilent to calling `imagewidget.setHeight(...)`.

- <image> takes no children
- `<image>` takes no children

#### ImageButton

Expand All @@ -114,7 +114,7 @@ Note that boolean-type attributes don't require you to put the actual true/false
- `width` - `number`: Equivilent to calling `imagewidget.setWidth(...)`.
- `height` - `number`: Equivilent to calling `imagewidget.setHeight(...)`.

- <imagebutton> takes no children
- `<imagebutton>` takes no children

#### Border

Expand All @@ -126,7 +126,7 @@ Note that boolean-type attributes don't require you to put the actual true/false

- `color` - `[number, number, number, number]` or `Color`: Equivalent to calling `border.setColor(...)`.

- <border> can take strings or a single widget as children.
- `<border>` can take strings or a single widget as children.

#### Canvas

Expand All @@ -139,7 +139,7 @@ The canvas has no additional attributes. however, canvases take an atypical chil
</canvas>
```

- <canvas> can take multiple `canvasChild` calls as children. the second argument of canvasChild can be a string or a single widget.
- `<canvas>` can take multiple `canvasChild` calls as children. the second argument of canvasChild can be a string or a single widget.

### LayoutBox

Expand All @@ -159,7 +159,7 @@ The canvas has no additional attributes. however, canvases take an atypical chil
- `minWidth` - `number`: Equivalent to calling `layoutBox.setMinimumWidth(...)`.
- `width` - `number`: Equivalent to calling `layoutBox.setOverrideWidth(...)`.

- <layout> can take strings or a single widget as children.
- `<layout>` can take strings or a single widget as children.

#### VerticalBox

Expand All @@ -177,7 +177,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `valign` - `VerticalAlignment`: Equivalent to calling `verticalBox.setVerticalAlignment(...)`.
- `halign` - `HorizontalAlignment`: Equivalent to calling `verticalBox.setHorizontalAlignment(...)`.

- <verticalbox> can take strings, any number of widgets, or the special {boxChild(1, <...>)} function.
- `<verticalbox>` can take strings, any number of widgets, or the special {boxChild(1, <...>)} function.

#### HorizontalBox

Expand All @@ -192,7 +192,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `valign` - `VerticalAlignment`: Equivalent to calling `verticalBox.setVerticalAlignment(...)`.
- `halign` - `HorizontalAlignment`: Equivalent to calling `verticalBox.setHorizontalAlignment(...)`.

- <horizontalbox>, like <verticalbox>, can take strings, any number of widgets, or the special {boxChild(1, <...>)} function.
- `<horizontalbox>`, like `<verticalbox>`, can take strings, any number of widgets, or the special {boxChild(1, <...>)} function.

#### ContentButton

Expand Down Expand Up @@ -230,7 +230,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <text> obviously takes a string as a child
- `<text>` obviously takes a string as a child

#### Button

Expand Down Expand Up @@ -259,7 +259,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <button> can take a string as a child
- `<button>` can take a string as a child

#### CheckBox

Expand Down Expand Up @@ -290,7 +290,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <checkbox> takes no children
- `<checkbox>` takes no children

#### MultilineTextBox

Expand Down Expand Up @@ -325,7 +325,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <textarea> can take a string as a child
- `<textarea>` can take a string as a child

#### ProgressBar

Expand All @@ -343,7 +343,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <progressbar> takes no children
- `<progressbar>` takes no children

#### RichText

Expand All @@ -362,7 +362,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <richtext> can take a string as it's child.
- `<richtext>` can take a string as it's child.

#### SelectionBox (Select)

Expand Down Expand Up @@ -393,7 +393,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <select> takes no children
- `<select>` takes no children

#### Slider

Expand Down Expand Up @@ -432,7 +432,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <slider> takes no children
- `<slider>` takes no children

#### TextBox

Expand Down Expand Up @@ -470,7 +470,7 @@ VerticalBox (as well as the HorizontalBox) can take a special function child, mu
- `font` - `string`: Equivalent to setting the font using `setFont(...)`.
- `fontPackage` - `string`: Equivalent to setting the font package using `setFont(...)` with a package specifier.

- <input> takes no children
- `<input>` takes no children

# Extendable Component-esque functions

Expand Down

0 comments on commit 0ce5322

Please sign in to comment.