From: Jaehyun Cho Date: Thu, 16 Sep 2021 03:39:48 +0000 (+0900) Subject: [NUI] Make ImageView.AddViewSize public X-Git-Tag: submit/tizen/20211014.073550~1^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd3966657fa3014bc59b1a13fb98cf03f9a85bba;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 68d2cd8..0172c1e 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -1131,10 +1131,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; set; } = false; internal Selector ResourceUrlSelector