From: Jaehyun Cho Date: Thu, 16 Sep 2021 03:39:48 +0000 (+0900) Subject: [NUI] Make ImageView.AddViewSize public X-Git-Tag: accepted/tizen/unified/20231205.024657~1362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=156a63e18c24ab5f0758edfb320a679f44417e57;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Make ImageView.AddViewSize public This is ACR patch to make ImageView.AddViewSize public. --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index e22ffef..015f07d 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -1018,10 +1018,16 @@ namespace Tizen.NUI.BaseComponents /// /// Gets or sets the mode to adjust view size to preserve the aspect ratio of the image resource. - /// If this is set to be true, then the width or height, which is not set by user explicitly, can be adjusted to preserve the aspect ratio of the image resource. - /// AdjustViewSize works only if ImageView is added to a View having Layout. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// + /// This is false by default. + /// If this is set to be true, then the width or height value, which is not set by user explicitly, can be changed automatically + /// to preserve the aspect ratio of the image resource. + /// AdjustViewSize works only if ImageView is added to a View having Layout. + /// e.g. If the image resource size is (100, 100), then the ImageView requests size (100, 100) to its parent layout by default. + /// If the ImageView's HeightSpecification is 50 and AdjustViewSize is true, then the ImageView requests size (50, 50) instead of (100, 50). + /// + /// 9 public bool AdjustViewSize { get