From 6e75a482921aa6acfbea105c1cb79e9689cc20eb Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Tue, 16 Jul 2024 19:52:26 +0900 Subject: [PATCH] [NUI] Add description to text label Signed-off-by: Bowon Ryu --- .../src/public/BaseComponents/TextLabel.cs | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index 1e007ce16..f693dc29c 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -329,7 +329,9 @@ namespace Tizen.NUI.BaseComponents /// The width of text to render. /// The height of text to render. /// - /// Only works when AsyncAuto and AsyncManual. + /// Only works when AsyncAuto and AsyncManual.
+ /// If another request occurs before the requested render is completed, the previous request will be canceled.
+ /// In AsyncAuto, the manual request is not canceled by an auto request caused by OnRealyout. ///
[EditorBrowsable(EditorBrowsableState.Never)] public void RequestAsyncRenderWithFixedSize(float width, float height) @@ -346,8 +348,10 @@ namespace Tizen.NUI.BaseComponents /// /// Only works when AsyncAuto and AsyncManual.
/// The height is determined by the content of the text when rendered with the given width.
- /// The result will be the same as the height returned by GetHeightForWidth. - /// If the heightConstraint is given, the maximum height will be the heightConstraint. + /// The result will be the same as the height returned by GetHeightForWidth.
+ /// If the heightConstraint is given, the maximum height will be the heightConstraint.
+ /// If another request occurs before the requested render is completed, the previous request will be canceled.
+ /// In AsyncAuto, the manual request is not canceled by an auto request caused by OnRealyout. ///
[EditorBrowsable(EditorBrowsableState.Never)] public void RequestAsyncRenderWithFixedWidth(float width, float heightConstraint = float.PositiveInfinity) @@ -366,8 +370,10 @@ namespace Tizen.NUI.BaseComponents /// If the width of the text content is smaller than the widthConstraint, the width will be determined by the width of the text.
/// If the width of the text content is larger than the widthConstraint, the width will be determined by the widthConstraint.
/// The height is determined by the content of the text when rendered with the given width.
- /// In this case, the result will be the same as the height returned by GetHeightForWidth. - /// If the heightConstraint is given, the maximum height will be the heightConstraint. + /// In this case, the result will be the same as the height returned by GetHeightForWidth.
+ /// If the heightConstraint is given, the maximum height will be the heightConstraint.
+ /// If another request occurs before the requested render is completed, the previous request will be canceled.
+ /// In AsyncAuto, the manual request is not canceled by an auto request caused by OnRealyout. /// [EditorBrowsable(EditorBrowsableState.Never)] public void RequestAsyncRenderWithConstraint(float widthConstraint, float heightConstraint = float.PositiveInfinity) @@ -379,6 +385,9 @@ namespace Tizen.NUI.BaseComponents /// /// Requests asynchronous text natural size computation. /// + /// + /// If another request occurs before the requested natural size computation is completed, the previous request will be canceled. + /// [EditorBrowsable(EditorBrowsableState.Never)] public void RequestAsyncNaturalSize() { @@ -390,6 +399,9 @@ namespace Tizen.NUI.BaseComponents /// Requests asynchronous computation of the height of the text based on the given width. /// /// The width of text to compute. + /// + /// If another request occurs before the requested height for width computation is completed, the previous request will be canceled. + /// [EditorBrowsable(EditorBrowsableState.Never)] public void RequestAsyncHeightForWidth(float width) { -- 2.34.1