1# ArkUI Subsystem Changelog
2Fixed 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.
3
4Example:
5
6```ts
7@Entry
8@Component
9struct StackExample {
10  build() {
11    Stack({alignContent:Alignment.TopEnd}){
12      Text('First child, show in bottom')
13        .width(200).height(200).backgroundColor(0xd2cab3).margin(10)
14    }.width(150).height(150).backgroundColor(Color.Pink).margin(100)
15  }
16}
17```
18Before: Child components are not arranged based on **alignContent:Alignment.TopEnd**.
19
20![stack](figures/stack_before.jpg)
21
22After: Child components are arranged based on **alignContent:Alignment.TopEnd**.
23
24![stack](figures/stack_after.jpg)
25
26
27**Change Impact**
28
29The previous workaround – setting the **Offset** or **translate** attribute – needs to be removed.
30
31**Adaptation Guide**
32
33Remove the **Offset** and **translate** settings for the child components and use **alignContent** for layout.
34