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