From c609987ee5acaf9a58474b8e393d9bb23601ee10 Mon Sep 17 00:00:00 2001 From: liuyongkai2 Date: Fri, 5 Sep 2025 17:12:03 +0800 Subject: [PATCH] =?UTF-8?q?text=E6=94=AF=E6=8C=81minlines=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuyongkai2 --- arkui/ace_engine/native/native_node.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 516876804a0..cb01e76704b 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2562,6 +2562,19 @@ typedef enum { */ NODE_TEXT_CONTENT_ALIGN = 1036, + /** + * @brief Sets the minimum number of lines in the text. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: minimum number of lines in the text.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: minimum number of lines in the text.\n + * + */ + NODE_TEXT_MIN_LINES = 1037, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee