diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-richtext.md b/en/application-dev/reference/arkui-ts/ts-basic-components-richtext.md index 032b5b61a6a49ed33eaa3b65d38321b73cac8117..6ab3c683bb77721868f160850eba311054ed5c5c 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-richtext.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-richtext.md @@ -67,7 +67,7 @@ struct RichTextExample { '

h2 heading

' + '

h3 heading

' + '

Regular paragraph


' + - '
' + + '
' + '

Font size: 35px; line height: 45px

' + '

' + '

This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text.

'; diff --git a/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md b/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md index 7a78929dca57da1194d9454042286393f8a773b2..49ca12cd0645aee4a524f2109e6998723f83b578 100644 --- a/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md +++ b/en/application-dev/reference/arkui-ts/ts-basic-components-toggle.md @@ -31,7 +31,7 @@ Since API version 9, this API is supported in ArkTS widgets. | Name | Description | | -------- | ---------------- | -| Checkbox | Check box type.
**NOTE**
The default value of the universal attribute [margin](ts-universal-attributes-size.md) is as follows:
{
top: 12 px,
right: 12 px,
bottom: 12 px,
left: 12 px
} | +| Checkbox | Check box type.
**NOTE**
The default value of the universal attribute [margin](ts-universal-attributes-size.md) is as follows:
{
top: 14 px,
right: 14 px,
bottom: 14 px,
left: 14 px
} | | Button | Button type. The set string, if any, will be displayed inside the button. | | Switch | Switch type.
**NOTE**
The default value of the universal attribute [margin](ts-universal-attributes-size.md) is as follows:
{
top: 6px,
right: 14px,
bottom: 6 px,
left: 14 px
} |