From f84f11c2f1958d53cfae2e3c6fa59ab0c9c682cc Mon Sep 17 00:00:00 2001 From: nickyjd Date: Fri, 23 Jun 2023 22:28:52 +0800 Subject: [PATCH] add stack changelog at OpenHarmony4.0.8.5 Signed-off-by: nickyjd Change-Id: I77cf5184b944033524aa998ac63a4940281593a4 --- .../OpenHarmony_4.0.8.5/changelogs-arkui.md | 37 ++++++++++++++++++ .../figures/api10_and_later.png | Bin 0 -> 6449 bytes .../OpenHarmony_4.0.8.5/figures/api9.png | Bin 0 -> 7184 bytes 3 files changed, 37 insertions(+) create mode 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/changelogs-arkui.md create mode 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10_and_later.png create mode 100644 zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9.png diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/changelogs-arkui.md new file mode 100644 index 0000000000..3ddbf18f72 --- /dev/null +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/changelogs-arkui.md @@ -0,0 +1,37 @@ +# arkui子系统ChangeLog + +## cl.arkui.1 stack组件alignContent属性和通用属性align生效顺序。 + +**说明** +属性之间的处理原则:如果功能相同,属性按覆盖处理即后设置的生效。alignContent和align功能相同,都是子组件在stack容器组件的对齐方式。 + +**示例:** +```ts +// xxx.ets +@Entry +@Component +struct StackExample { + build() { + Stack({alignContent:Alignment.Start}){ + Text("Stack's child").backgroundColor(Color.Brown).height("100").width(100) + } + .width(300).height(300) + .backgroundColor(Color.Pink) + .align(Alignment.Center) + .alignContent(Alignment.TopEnd) + } +} +``` + +api9:子组件按照通用属性align布局 + +![stack](figures/api9.png) + + +api10及以后:子组件按照后设置的alignContent布局 + +![stack](figures/api10_and_later.png) + +**变更影响** + +alignContent和align都设置时,api9版本及以前是align生效,api10及以后是后设置的生效。 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10_and_later.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api10_and_later.png new file mode 100644 index 0000000000000000000000000000000000000000..a5c7e90386f90da43daebe82165ef728dbf0d1d0 GIT binary patch literal 6449 zcmeHJdo9N6dH~kMSBIQ^vbAQ5f$^k|`W2gC2^I#~}xU z^0-7Er#xolF>WGY}{*6v_(|P#*3RAm>v-G=@9yF0b&))k|Ao$C4hF z)bq-z+04P+0=oFb_o%;>pI@i;4`zRk*yVqV*>A*t=S2quz#z`!fkgp5fEDGvnB~2g zomtt@UAVVv3f(njjsl(1NHpV!6M~<&EEH1~YSX3fXpu#Y&!VP~xElPVZ*io|T72uT zXD>dvW1KBzoP7WWy+TJK=txEH2TK3(%R05!!?0?oLq_=$mX)OuOgbBwQnF`C;O=LX z>#dLzVG({&iz)j)mDD}2OZ(tXA3ecRYn{v_&0Cf8Au=z13wn+mKj!m=xl9rQ*eHrS ztmqkQ=FKEsN*&W29vRa+kvnU}2IR+@WSnuU@}%lP!d$IaMKT+xu0w|)VHnrlOAk>n zYtT2qGqV$h!8t{`!Z0Xcqku0@v258uD{hVP zjBAS5lACZ3m4e=67_Jn2qAeArYei}k^Tw0#`hEfJ^~NiqO@qDMst0Ih3Z*yOREiZ_ z`{kLBLM-6$8ivH(dY$vaj)NMyl~cCLuV_iVa@oYQ2ld2b=`S!TCBeAf)LS-P1IT>j z@!b8+aVV)6&2|HoYft0&QuveZf}>ZaEBeyRR7z8>S59jRrRBU*NaAlX6v?-0Lqb)1 z<_QOORepCZ=f=^iU^(Q}fO&HE$AE~UYbhi(b2Fy5cP3*wDAEms4qf%PAQ{~WPMKzz z^7!yT0%6o?i`P_2vHMYyaS|RKq-}2?pQsO2A2iabZp*0NwR=#df7@8kU9857@cEiY z?{!H$FZFl4OZSZT6qUefLf#LmT|7t3!+M-|9(AxH9O}lPpfZIQFsKNhWg-Rz12zI% zcUIZ7q6?OiDV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g)dc+{FrJ=) zQq)uki=#$c9`M%CqVD0{u7t^Jv9somm>MExlET|phRn}JyHGk4q#XVF%FZ?32+MrK z1`hgkKHph8dM&T=gRHKmjICwn&0EhnCa>wjTE#YGHP);^-M>9w7qgGMz8xh?Z<5;W*eUtq^~nc2 zq=|WmtTcN4`_U2g+e05XUEK5`vl#`$_GFM_U>JSqMiChr+06zPTy-#?%h>?cv0(Aw zA7As`SX9g>WHotpocYUeB>X3bBidhNIO0FY#~Fq4^}d>fCUK9!hdCpYoy?ayX+&$i zo+l@{-Z3Gm1FQpK_lGTVbie277$H%Dld zVgDr?_;UgYQT&6R^0(&PKWh_7sP?QSe#v9W*EJT)_}-V3-nZ87{Bi%P6icT?!rfE` zcQ~r*{=Jz=(tbtT8)HAoIoW%mT^5JZ7Q9weqN6%LvVmI}Ya_;AE4brbju8%t_-8D0 ziIs`gjJXCuHegt{W)sDVkoj7P@IuMhXZ7iol|;3Nr?CNnT_cOyY+zi04ODdfv)bEp z0rS}j8U5F|Qug;ed`+Cw60oPF~vh*TkNMorR64(G%6^*RO7B|HDiqvituI)36x_ literal 0 HcmV?d00001 diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9.png b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.8.5/figures/api9.png new file mode 100644 index 0000000000000000000000000000000000000000..ab945f0162be71defb1d3f6de5ae59fcb15a846e GIT binary patch literal 7184 zcmeHLd0bOhzQ1gOpdb=JTP0OM5CKPJsUk$gK!pJs6eFmlpe#Z$q5^^@sVE{*3!)JP zF%lL9lt9@EfusU%P{c%K2|@q~TL?>lK-N1qo%fv4zUilZ_K){wyg9#ol5_4k_xC-& z?RzfR0rmn*++BCN0!m6sz&Fqb0J{JeKt)+u(V$BeYHAv4YO1Pgn(FEcG!|(tTBN0^ zrL|al>5|3Ty4qS=OAMCi>cRB&^%vR;!{NtIM90LQjEg^eF7bTQ zg=Avd)oY~d={Ig>P;zqf^6%a&DEy(UyrQz|$LgB;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