From fc2fba43051e9b71c46ed9c04045f2a0500885d0 Mon Sep 17 00:00:00 2001 From: Seoyeon2Kim <34738918+Seoyeon2Kim@users.noreply.github.com> Date: Tue, 4 May 2021 10:58:58 +0900 Subject: [PATCH] [NUI] Update some descriptions (#2990) - For Slider, split some descriptions from summary according to a review. - For ViewEvent, fix the build warning : CS1570 "<" is "<" and ">" is ">" in XML comments. Signed-off-by: Seoyeon Kim --- src/Tizen.NUI.Components/Controls/Slider.cs | 5 +++-- src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs | 19 ++++++++++++------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/Tizen.NUI.Components/Controls/Slider.cs b/src/Tizen.NUI.Components/Controls/Slider.cs index b2696f5..2036369 100755 --- a/src/Tizen.NUI.Components/Controls/Slider.cs +++ b/src/Tizen.NUI.Components/Controls/Slider.cs @@ -938,12 +938,13 @@ namespace Tizen.NUI.Components /// /// Gets or sets the discrete value of slider. - /// + /// + /// /// The discrete value is evenly spaced between MinValue and MaxValue. /// For example, MinValue is 0, MaxValue is 100, and DiscreteValue is 20. /// Then, the thumb can only go to 0, 20, 40, 60, 80, and 100. /// The default is 0. - /// + /// /// 9 public float DiscreteValue { diff --git a/src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs b/src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs index 80f5dd7..e8773b7 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs @@ -1290,14 +1290,19 @@ namespace Tizen.NUI.BaseComponents } /// + /// The expanded touch area. /// TouchArea can expand the view's touchable area.
/// If you set the TouchAreaOffset on an view, when you touch the view, the touch area is used rather than the size of the view.
+ ///
+ /// /// This is based on the top left x, y coordinates.
- /// example)
- /// view.Size = new Size(100, 100);
- /// view.TouchAreaOffset = new Offset(-10, 20, 30, -40); // left, right, bottom, top
- /// then touch area is 130x170.
- /// this is view.width + TouchAreaOffset.right - TouchAreaOffset.left and view.height + TouchAreaOffset.bottom - TouchAreaOffset.top
+ /// For example)
+ /// + /// view.Size = new Size(100, 100); + /// view.TouchAreaOffset = new Offset(-10, 20, 30, -40); // left, right, bottom, top + /// + /// Then, touch area is 130x170.
+ /// This is view.width + TouchAreaOffset.right - TouchAreaOffset.left and view.height + TouchAreaOffset.bottom - TouchAreaOffset.top
/// +---------------------+
/// | ^ |
/// | | |
@@ -1307,7 +1312,7 @@ namespace Tizen.NUI.BaseComponents /// | +----+----+ |
/// | | | |
/// | -10| | 20 |
- /// |<---+ +----->|
+ /// |<---+ +----->|
/// | | | |
/// | | | |
/// | +----+----+ |
@@ -1316,7 +1321,7 @@ namespace Tizen.NUI.BaseComponents /// | | |
/// | v |
/// +---------------------+
- /// + ///
[EditorBrowsable(EditorBrowsableState.Never)] public Offset TouchAreaOffset { -- 2.7.4