From: Bowon Ryu Date: Tue, 16 Jul 2024 10:52:26 +0000 (+0900) Subject: [NUI] Add description to text label X-Git-Tag: submit/tizen/20240821.061804~1^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e75a482921aa6acfbea105c1cb79e9689cc20eb;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Add description to text label Signed-off-by: Bowon Ryu --- 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) {