From 6c97c0b4f6bd84a38d2e527edb6763b4356f8084 Mon Sep 17 00:00:00 2001 From: wangxiuxiu9 Date: Fri, 29 Aug 2025 10:25:48 +0800 Subject: [PATCH] =?UTF-8?q?Text=E6=94=AF=E6=8C=81minLines=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangxiuxiu9 Change-Id: If4ed241d17d02ab047af1960a8c3e8533b5bcb6c --- 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 afeb5f72620..80898416561 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2491,6 +2491,19 @@ typedef enum { */ NODE_TEXT_VERTICAL_ALIGN = 1035, + /** + * @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 = 1036, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee