From 8c8fa01589583121ee16bba08a0c160f398e9c61 Mon Sep 17 00:00:00 2001 From: weixin_43271254 Date: Sat, 23 Aug 2025 19:15:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=B8=80=E8=87=B4=E6=80=A7?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: weixin_43271254 Change-Id: I6cab93eb61975738e62c4bdec423930922d5abbb --- arkui/ace_engine/native/native_node.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 50ede589c7f..f7fd5fc5d46 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2385,17 +2385,7 @@ typedef enum { * @since 15 */ NODE_IMMUTABLE_FONT_WEIGHT = 1030, - - /** - * @brief Defines the text line count attribute, which can only be obtained as required through APIs. - * - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .value[0].i32: line count of the node. - * - * @since 20 - */ - NODE_TEXT_LINE_COUNT = 1031, - + /** * @brief Sets whether to optimize the trailing spaces at the end of each line during text layout. * This attribute can be set, reset, and obtained as required through APIs. @@ -2410,6 +2400,17 @@ typedef enum { * @since 20 */ NODE_TEXT_OPTIMIZE_TRAILING_SPACE = 1032, + + /** + * @brief Defines the text line count attribute, which can only be obtained as required through APIs. + * + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: line count of the node. + * + * @since 20 + */ + NODE_TEXT_LINE_COUNT = 1031, + /** * @brief Sets a linear gradient effect for text. * This attribute can be set, reset, and obtained as required through APIs. -- Gitee