提交 4c599edb 编写于 作者: E ester.zhou

fixed edad7d7 from https://gitee.com/esterzhou/docs/pulls/19810

Update docs (18881)
Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 4e8345f0
...@@ -33,7 +33,7 @@ Since API version 9, this API is supported in ArkTS widgets. ...@@ -33,7 +33,7 @@ Since API version 9, this API is supported in ArkTS widgets.
| Name | Type| Description | | Name | Type| Description |
| ---------- | -------- | ------------------------------------------------------------ | | ---------- | -------- | ------------------------------------------------------------ |
| allowScale | boolean | Whether to allow text to scale.<br>Default value: **false**<br>Since API version 9, this API is supported in ArkTS widgets.| | allowScale | boolean | Whether to allow text to scale.<br>This attribute is not supported currently.<br>Default value: **false** |
## Events ## Events
......
...@@ -15,7 +15,7 @@ The **\<RelativeContainer>** component is used for element alignment in complex ...@@ -15,7 +15,7 @@ The **\<RelativeContainer>** component is used for element alignment in complex
* Alignment modes in the vertical direction can be top, center, or bottom, achieved by the **VerticalAlign.Top**, **VerticalAlign.Center**, and **VerticalAlign.Bottom** attributes of the container, respectively. * Alignment modes in the vertical direction can be top, center, or bottom, achieved by the **VerticalAlign.Top**, **VerticalAlign.Center**, and **VerticalAlign.Bottom** attributes of the container, respectively.
* A child component can set the container or another child component as the anchor. * A child component can set the container or another child component as the anchor.
* To show in the **\<RelativeContainer>**, child components must have an ID. The container ID is fixed at **__container__**. * To show in the **\<RelativeContainer>**, child components must have an ID. The container ID is fixed at **__container__**.
* Three positions of the child component in a direction can use three positions of the container or another child components in the same direction as anchors. If anchors are set for more than two positions in a single direction, the third position is skipped. * Three positions on the child component in a specific direction can use as anchors three positions on the container or another child component in the same direction. If anchors are set for more than two positions in a single direction, then: Start and Center are preferred in the horizontal direction, and Top and Center are preferred in the vertical direction.
* The child component size set on the frontend page is not affected by the **\<RelativeContainer>** rules. If two or more **alignRules** values are set for one direction of the child component, you are not advised to set the size for this direction. * The child component size set on the frontend page is not affected by the **\<RelativeContainer>** rules. If two or more **alignRules** values are set for one direction of the child component, you are not advised to set the size for this direction.
* If offset is required after the alignment, it can be set through **offset**. * If offset is required after the alignment, it can be set through **offset**.
* Exceptions * Exceptions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册