From 00cf7a9b0fb5ec29212c131e87ef60b6e66f7e11 Mon Sep 17 00:00:00 2001 From: zhouyan Date: Thu, 31 Aug 2023 13:48:20 +0000 Subject: [PATCH] =?UTF-8?q?menu=E6=9C=80=E5=B0=8F=E5=AE=BD=E5=BA=A6?= =?UTF-8?q?=E9=99=90=E5=88=B6AspectRatioHeightTest=20xts=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouyan Change-Id: I2302d4c07cc212b11f2c0ff7d2dce730d86daa57 --- .../ets/MainAbility/pages/aspectRatio/AspectRatioHeightPage.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_aspectRatio/entry/src/main/ets/MainAbility/pages/aspectRatio/AspectRatioHeightPage.ets b/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_aspectRatio/entry/src/main/ets/MainAbility/pages/aspectRatio/AspectRatioHeightPage.ets index 4df01a596..567bad7bb 100644 --- a/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_aspectRatio/entry/src/main/ets/MainAbility/pages/aspectRatio/AspectRatioHeightPage.ets +++ b/arkui/ace_ets_component_common_attrss/ace_ets_component_common_attrss_aspectRatio/entry/src/main/ets/MainAbility/pages/aspectRatio/AspectRatioHeightPage.ets @@ -108,7 +108,7 @@ struct AspectRatioHeightPage { } else if (this.targetView == 'Menu') { Menu() { MenuItem({ startIcon: $r('app.media.icon'), content: 'Menu' }) - }.backgroundColor(Color.Pink).commonStyle() + }.backgroundColor(Color.Pink).commonStyle().constraintSize({minWidth: 0}) } else if (this.targetView == 'MenuItem') { Menu() { MenuItem({ startIcon: $r('app.media.icon'), content: 'MenuItem' }).backgroundColor(Color.Pink).commonStyle() -- GitLab