From c4a0fd33ca0962415e3e3885db5bb434631e118e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=9B=E4=BA=9A=E8=8A=B3?= Date: Wed, 9 Aug 2023 08:44:14 +0000 Subject: [PATCH] update zh-cn/application-dev/ui/arkts-layout-development-flex-layout.md. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 葛亚芳 --- .../ui/arkts-layout-development-flex-layout.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zh-cn/application-dev/ui/arkts-layout-development-flex-layout.md b/zh-cn/application-dev/ui/arkts-layout-development-flex-layout.md index 964a6156ff..20cd4da27d 100644 --- a/zh-cn/application-dev/ui/arkts-layout-development-flex-layout.md +++ b/zh-cn/application-dev/ui/arkts-layout-development-flex-layout.md @@ -597,7 +597,7 @@ Flex({ direction: FlexDirection.Row, alignItems: ItemAlign.Center }) { // 容器 ![zh-cn_image_0000001562820813](figures/zh-cn_image_0000001562820813.png) -## 相关实例 +## 场景示例 使用弹性布局,可以实现子组件沿水平方向排列,两端对齐,子组件间距平分,竖直方向上子组件居中的效果。 @@ -624,3 +624,9 @@ struct FlexExample { ``` ![zh-cn_image_0000001511900452](figures/zh-cn_image_0000001511900452.png) + +## 相关实例 + +针对Flex开发,有以下相关实例可供参考: + +- [弹性布局(ArkTS)(API9)](https://gitee.com/openharmony/codelabs/tree/master/ETSUI/FlexLayout) \ No newline at end of file -- GitLab