Fix typos.

This commit is contained in:
Bruce Mitchener
2024-03-16 23:49:02 +07:00
parent 6ef7be293a
commit 0a81ca8887
20 changed files with 37 additions and 37 deletions

View File

@@ -29,7 +29,7 @@ containing blocks is much more streamlined and it is helpful to frame it differe
is helpful for supporting things outside of Yoga which would form a containing block
on the web, such as [filters](https://developer.mozilla.org/en-US/docs/Web/CSS/filter)
or [transforms](https://developer.mozilla.org/en-US/docs/Web/CSS/transform). This
is done by calling the corresponding API for the lanuage you are working in.
is done by calling the corresponding API for the language you are working in.
<Tabs groupId="language">
<TabItem value="cpp" label="C/C++">
```cpp

View File

@@ -61,7 +61,7 @@ void applyLayout(YogaNode node) {
:::danger
Yoga's JavaScript bindings are missing support for acessing the `HasNewLayout` flag. https://github.com/facebook/yoga/issues/681
Yoga's JavaScript bindings are missing support for accessing the `HasNewLayout` flag. https://github.com/facebook/yoga/issues/681
:::

View File

@@ -22,7 +22,7 @@ remaining space between the lines.
**Space around**: Evenly space wrapped lines across the container's main axis, distributing
remaining space around the lines. Compared to space between using
space around will result in space being distributed to the begining of
space around will result in space being distributed to the beginning of
the first lines and end of the last line.
**Space evenly**: Evenly space wrapped lines across the container's main axis, distributing

View File

@@ -36,7 +36,7 @@ what [position type](/docs/styling/position) the node has.
from where the node would normally be in the container. Each inset property
is relative to the node's corresponding physical edge. So `YGNodeStyleSetPosition(node, YGEdgeRight, 10.0f)` will offset the node
so that the right edge is 10 units away from where the right edge would be originally.
* If the node is aboslute then insets will move the node the designated amount away from
* If the node is absolute then insets will move the node the designated amount away from
the node's [containing block](/docs/advanced/containing-block). So `YGNodeStyleSetPosition(node, YGEdgeRight, 10.0f)`
will offset the node so that the right edge is 10 units away from the [containing block's](/docs/advanced/containing-block)
right edge.

View File

@@ -16,7 +16,7 @@ of its parent if the parent is auto sized.
of an element if it has an explicit size set. For auto sized nodes padding will increase
the size of the node as well as offset the location of any children.
**Border**: in Yoga acts exactly like padding and only exists as a seperate property so
**Border**: in Yoga acts exactly like padding and only exists as a separate property so
that higher level frameworks get a hint as to how thick to draw a border. Yoga however
does not do any drawing so just uses this information during layout where border
acts exactly like padding.