From 5386cb95849b3733ff1f8a9ce9577009cc0c996f Mon Sep 17 00:00:00 2001 From: liuwei Date: Fri, 9 May 2025 16:05:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9align=E5=B1=9E=E6=80=A7=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=9A=84=E7=BB=84=E4=BB=B6=E8=BF=9B=E8=A1=8C=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuwei --- .../apis-arkui/arkui-ts/ts-universal-attributes-location.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-universal-attributes-location.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-universal-attributes-location.md index 152ecf9410a..0ae6bbcca22 100755 --- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-universal-attributes-location.md +++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-universal-attributes-location.md @@ -22,7 +22,7 @@ align(value: Alignment) | 参数名 | 类型 | 必填 | 说明 | | ------ | ------------------------------------------- | ---- | ------------------------------------------------------------ | -| value | [Alignment](ts-appendix-enums.md#alignment) | 是 | 设置容器元素绘制区域内的子元素的对齐方式。
只在Stack、Button、Marquee、StepperItem、Text、TextArea、TextInput、FolderStack中生效,其中和文本相关的组件Marquee、Text、TextArea、TextInput的align结果参考[textAlign](ts-basic-components-text.md#textalign)。
不支持textAlign属性的组件则无法设置水平方向的文字对齐。
默认值:Alignment.Center
**说明:**
该属性不支持镜像能力。
在Stack中该属性与alignContent效果一致,只能设置子组件在容器内的对齐方式。 | +| value | [Alignment](ts-appendix-enums.md#alignment) | 是 | 设置容器元素绘制区域内的子元素的对齐方式。
只在Stack、Button、Marquee、StepperItem、Text、TextArea、TextInput、FolderStack、Grid、GridItem、ListItem、indexer、FlowItem、scroll、scrollBar中生效,其中和文本相关的组件Marquee、Text、TextArea、TextInput的align结果参考[textAlign](ts-basic-components-text.md#textalign)。
不支持textAlign属性的组件则无法设置水平方向的文字对齐。
默认值:Alignment.Center
**说明:**
该属性不支持镜像能力。
在Stack中该属性与alignContent效果一致,只能设置子组件在容器内的对齐方式。 | ## direction @@ -513,4 +513,4 @@ struct Example4 { } } ``` -![position.png](figures/position3.png) \ No newline at end of file +![position.png](figures/position3.png) -- Gitee