From 9fad8b69d2b3823c8788a866a603f5286e91da40 Mon Sep 17 00:00:00 2001 From: yujiadong Date: Wed, 23 Aug 2023 12:41:54 +0000 Subject: [PATCH] add aspectRatio changelog Signed-off-by: yujiadong Change-Id: I2d0e0eee02e5ff6b433a76b8ced3c8445bbaae69 --- .../changelogs/OpenHarmony_4.0.11.2/changelogs-arkui.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.11.2/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.11.2/changelogs-arkui.md index b0e987b224..6ab192ac0f 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.11.2/changelogs-arkui.md +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.11.2/changelogs-arkui.md @@ -10,3 +10,11 @@ **关键的接口变更** PanelHeight枚举的WRAP_CONTENT值从0变为'wrapContent',接口行为变更对开发者无影响。 + +## cl.arkui.2 aspectRatio设置非法值和undefined时,默认值从1.0变为null。 + +**变更影响** + +变更前,开发者设置负数和undefined,aspectRatio = 1.0 + +变更后,开发者设置负数和undefined,aspectRatio为null。例如,Row只设置宽度且没有子组件,aspectRatio不设置值或者设置成负数时,此时Row高度为0。 -- GitLab