From 530c616b044c7118003ba30140a9ba2c6ce087c1 Mon Sep 17 00:00:00 2001 From: liuyongkai2 Date: Fri, 5 Sep 2025 16:47:06 +0800 Subject: [PATCH] =?UTF-8?q?Text=E6=94=AF=E6=8C=81=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E8=A1=8C=E9=AB=98=E5=92=8C=E8=A1=8C=E9=97=B4=E8=B7=9D?= 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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 516876804a0..9d554ebd87f 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -2562,6 +2562,29 @@ typedef enum { */ NODE_TEXT_CONTENT_ALIGN = 1036, + /** + * @brief Defines the minimum text line height attribute, which can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: minimum line height, in fp.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: minimum line height, in fp.\n + * + */ + NODE_TEXT_MIN_LINE_HEIGHT = 1037, + /** + * @brief Defines the maximum text line height attribute, which can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: maximum line height, in fp.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: maximum line height, in fp.\n + * + */ + NODE_TEXT_MAX_LINE_HEIGHT = 1038, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee