1# ArkUI Subsystem Changelog
2
3OpenHarmony 4.1.6.2 has the following changes.
4
5## cl.arkui.1 Change in Display of Overflowing Title Text for Alert Dialog Boxes and Action Sheets
6
7**Access Level**
8
9Public
10
11**Reason for Change**
12
13Specification optimization.
14
15**Change Impact**
16
17This change is a compatible change.
18
19When **title** and **subtitle** are set for an alert dialog box or action sheet:
20
21a. If the value of **title** does not fit in the display area:
22
23Before change: A maximum of one line of text is displayed, and an ellipsis (...) is used to represent clipped text.
24
25After change: The font size is first decreased incrementally until it reaches 16 fp, then text is wrapped onto a new line, and finally an ellipsis (...) is used to represent clipped text.
26
27b. If the value of **subtitle** does not fit in the display area:
28
29Before change: A maximum of one line of text is displayed, and an ellipsis (...) is used to represent clipped text.
30
31After change: The font size is first decreased incrementally until it reaches 12 fp, then text is wrapped onto a new line, and finally an ellipsis (...) is used to represent clipped text.
32
33**API Level**
34
35**title** and **subtitle** of **AlertDialog** are supported since API version 7 and API version 10, respectively.
36
37**title** and **subtitle** of **ActionSheet** are supported since API version 8 and API version 10, respectively.
38
39**Change Since**
40
41OpenHarmony SDK 4.1.6.2
42
43**Key API/Component Changes**
44
45AlertDialog and ActionSheet
46
47**Adaptation Guide**
48
49This change is about the default settings, and no adaptation is required.
50
51## cl.arkui.2 Change in Display of Overflowing Title Text Set Through promptAction.showDialog
52
53**Access Level**
54
55Public
56
57**Reason for Change**
58
59Specification optimization.
60
61**Change Impact**
62
63This change is a compatible change.
64
65**promptAction.showDialog** can take the **title** parameter.
66
67If the value of **title** does not fit in the display area:
68
69Before change: A maximum of one line of text is displayed, and an ellipsis (...) is used to represent clipped text.
70
71After change: The font size is first decreased incrementally until it reaches 16 fp, then text is wrapped onto a new line, and finally an ellipsis (...) is used to represent clipped text.
72
73**API Level**
74
759
76
77**Change Since**
78
79OpenHarmony SDK 4.1.6.2
80
81**Key API/Component Changes**
82
83promptAction.showDialog
84
85**Adaptation Guide**
86
87This change is about the default settings, and no adaptation is required.
88