1e41f4b71Sopenharmony_ci# ArkUI Subsystem Changelog
2e41f4b71Sopenharmony_ciFixed the issue where the layout of child components in the [\<Stack>](../../../application-dev/reference/arkui-ts/ts-container-stack.md) container does not follow the **alignContent** settings when the child components do not fit in the container.
3e41f4b71Sopenharmony_ci
4e41f4b71Sopenharmony_ciExample:
5e41f4b71Sopenharmony_ci
6e41f4b71Sopenharmony_ci```ts
7e41f4b71Sopenharmony_ci@Entry
8e41f4b71Sopenharmony_ci@Component
9e41f4b71Sopenharmony_cistruct StackExample {
10e41f4b71Sopenharmony_ci  build() {
11e41f4b71Sopenharmony_ci    Stack({alignContent:Alignment.TopEnd}){
12e41f4b71Sopenharmony_ci      Text('First child, show in bottom')
13e41f4b71Sopenharmony_ci        .width(200).height(200).backgroundColor(0xd2cab3).margin(10)
14e41f4b71Sopenharmony_ci    }.width(150).height(150).backgroundColor(Color.Pink).margin(100)
15e41f4b71Sopenharmony_ci  }
16e41f4b71Sopenharmony_ci}
17e41f4b71Sopenharmony_ci```
18e41f4b71Sopenharmony_ciBefore: Child components are not arranged based on **alignContent:Alignment.TopEnd**.
19e41f4b71Sopenharmony_ci
20e41f4b71Sopenharmony_ci![stack](figures/stack_before.jpg)
21e41f4b71Sopenharmony_ci
22e41f4b71Sopenharmony_ciAfter: Child components are arranged based on **alignContent:Alignment.TopEnd**.
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci![stack](figures/stack_after.jpg)
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci**Change Impact**
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ciThe previous workaround – setting the **Offset** or **translate** attribute – needs to be removed.
30e41f4b71Sopenharmony_ci
31e41f4b71Sopenharmony_ci**Adaptation Guide**
32e41f4b71Sopenharmony_ci
33e41f4b71Sopenharmony_ciRemove the **Offset** and **translate** settings for the child components and use **alignContent** for layout.
34