From 420d3c81a986189b8ca833832c159b5f00b6d326 Mon Sep 17 00:00:00 2001 From: Bowon Ryu Date: Fri, 7 Jan 2022 16:56:12 +0900 Subject: [PATCH] [NUI] Add EnableFontSizeScale to Text components (#3841) * [NUI] Add EnableFontSizeScale to Text components for current, FontSizeScale is applied to all text. Add EnableFontSizeScale to selectively apply FontSizeScale from SystemSettings Signed-off-by: Bowon Ryu * [NUI] Add test for FontSizeScale, EnableFontSizeScale Signed-off-by: Bowon Ryu --- .../src/internal/Interop/Interop.TextEditor.cs | 3 + .../src/internal/Interop/Interop.TextField.cs | 3 + .../src/internal/Interop/Interop.TextLabel.cs | 3 + .../src/public/BaseComponents/TextEditor.cs | 19 +++++ .../BaseComponents/TextEditorBindableProperty.cs | 20 ++++++ .../src/public/BaseComponents/TextField.cs | 19 +++++ .../BaseComponents/TextFieldBindableProperty.cs | 21 ++++++ .../src/public/BaseComponents/TextLabel.cs | 19 +++++ .../BaseComponents/TextLabelBindableProperty.cs | 21 ++++++ .../testcase/public/BaseComponents/TSTextEditor.cs | 50 ++++++++++++++ .../testcase/public/BaseComponents/TSTextField.cs | 26 +++++++ .../testcase/public/BaseComponents/TSTextLabel.cs | 80 ++++++++++++++++++++++ 12 files changed, 284 insertions(+) create mode 100755 test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextLabel.cs diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs index 23c3a80..3ff9478 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextEditor.cs @@ -302,6 +302,9 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_FONT_SIZE_SCALE_get")] public static extern int FontSizeScaleGet(); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_ENABLE_FONT_SIZE_SCALE_get")] + public static extern int EnableFontSizeScaleGet(); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextEditor_Property_GRAB_HANDLE_COLOR_get")] public static extern int GrabHandleColorGet(); diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs index 432830d..36c7d6c 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextField.cs @@ -289,6 +289,9 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_FONT_SIZE_SCALE_get")] public static extern int FontSizeScaleGet(); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_ENABLE_FONT_SIZE_SCALE_get")] + public static extern int EnableFontSizeScaleGet(); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextField_Property_GRAB_HANDLE_COLOR_get")] public static extern int GrabHandleColorGet(); diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs b/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs index 1eb9417..d8d60b2 100755 --- a/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs +++ b/src/Tizen.NUI/src/internal/Interop/Interop.TextLabel.cs @@ -147,6 +147,9 @@ namespace Tizen.NUI [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_FONT_SIZE_SCALE_get")] public static extern int FontSizeScaleGet(); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_Property_ENABLE_FONT_SIZE_SCALE_get")] + public static extern int EnableFontSizeScaleGet(); + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_TextLabel_GetTextSize")] public static extern global::System.IntPtr GetTextSize(global::System.Runtime.InteropServices.HandleRef textLabelRef, uint start, uint end); diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index c063ca3..ccb6646 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -2111,6 +2111,24 @@ namespace Tizen.NUI.BaseComponents } /// + /// The EnableFontSizeScale property.
+ /// Whether the font size scale is enabled. (The default value is true) + ///
+ [EditorBrowsable(EditorBrowsableState.Never)] + public bool EnableFontSizeScale + { + get + { + return (bool)GetValue(EnableFontSizeScaleProperty); + } + set + { + SetValue(EnableFontSizeScaleProperty, value); + NotifyPropertyChanged(); + } + } + + /// /// The InputMethodSettings property.
/// The settings to relating to the System's Input Method, Key and Value.
///
@@ -2474,6 +2492,7 @@ namespace Tizen.NUI.BaseComponents internal static readonly int VerticalScrollPosition = Interop.TextEditor.VerticalScrollPositionGet(); internal static readonly int PrimaryCursorPosition = Interop.TextEditor.PrimaryCursorPositionGet(); internal static readonly int FontSizeScale = Interop.TextEditor.FontSizeScaleGet(); + internal static readonly int EnableFontSizeScale = Interop.TextEditor.EnableFontSizeScaleGet(); internal static readonly int GrabHandleColor = Interop.TextEditor.GrabHandleColorGet(); internal static readonly int EnableGrabHandle = Interop.TextEditor.EnableGrabHandleGet(); internal static readonly int EnableGrabHandlePopup = Interop.TextEditor.EnableGrabHandlePopupGet(); diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditorBindableProperty.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditorBindableProperty.cs index 4464668..04c9667 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditorBindableProperty.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditorBindableProperty.cs @@ -972,6 +972,26 @@ namespace Tizen.NUI.BaseComponents return temp; })); + [EditorBrowsable(EditorBrowsableState.Never)] + public static readonly BindableProperty EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextEditor), default(bool), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) => + { + var textEditor = (TextEditor)bindable; + if (newValue != null) + { + using (var property = new Tizen.NUI.PropertyValue((bool)newValue)) + { + Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale, property); + } + } + }), + defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) => + { + var textEditor = (TextEditor)bindable; + bool temp; + Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textEditor.SwigCPtr, TextEditor.Property.EnableFontSizeScale).Get(out temp); + return temp; + })); + /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] public static readonly BindableProperty GrabHandleColorProperty = BindableProperty.Create(nameof(GrabHandleColor), typeof(Color), typeof(TextEditor), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) => diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs index 36c4fa9..cf17f54 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs @@ -2221,6 +2221,24 @@ namespace Tizen.NUI.BaseComponents } } + /// + /// The EnableFontSizeScale property.
+ /// Whether the font size scale is enabled. (The default value is true) + ///
+ [EditorBrowsable(EditorBrowsableState.Never)] + public bool EnableFontSizeScale + { + get + { + return (bool)GetValue(EnableFontSizeScaleProperty); + } + set + { + SetValue(EnableFontSizeScaleProperty, value); + NotifyPropertyChanged(); + } + } + /// Only used by the IL of xaml, will never changed to not hidden. [EditorBrowsable(EditorBrowsableState.Never)] public override bool IsCreateByXaml @@ -2515,6 +2533,7 @@ namespace Tizen.NUI.BaseComponents internal static readonly int EnableEditing = Interop.TextField.EnableEditingGet(); internal static readonly int PrimaryCursorPosition = Interop.TextField.PrimaryCursorPositionGet(); internal static readonly int FontSizeScale = Interop.TextField.FontSizeScaleGet(); + internal static readonly int EnableFontSizeScale = Interop.TextField.EnableFontSizeScaleGet(); internal static readonly int GrabHandleColor = Interop.TextField.GrabHandleColorGet(); internal static readonly int EllipsisPosition = Interop.TextField.EllipsisPositionGet(); internal static readonly int InputFilter = Interop.TextField.InputFilterGet(); diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextFieldBindableProperty.cs b/src/Tizen.NUI/src/public/BaseComponents/TextFieldBindableProperty.cs index 504a527..4f4849e 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextFieldBindableProperty.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextFieldBindableProperty.cs @@ -1039,6 +1039,27 @@ namespace Tizen.NUI.BaseComponents Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.FontSizeScale).Get(out temp); return temp; })); + + [EditorBrowsable(EditorBrowsableState.Never)] + public static readonly BindableProperty EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextField), default(bool), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) => + { + var textField = (TextField)bindable; + if (newValue != null) + { + using (var property = new Tizen.NUI.PropertyValue((bool)newValue)) + { + Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale, property); + } + } + }), + defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) => + { + var textField = (TextField)bindable; + bool temp; + Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textField.SwigCPtr, TextField.Property.EnableFontSizeScale).Get(out temp); + return temp; + })); + /// This will be public opened in tizen_6.5 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] public static readonly BindableProperty GrabHandleColorProperty = BindableProperty.Create(nameof(TextField.GrabHandleColor), typeof(Color), typeof(TextField), null, propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) => diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index 200cd7c..9800cdc 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -1339,6 +1339,24 @@ namespace Tizen.NUI.BaseComponents } } + /// + /// The EnableFontSizeScale property.
+ /// Whether the font size scale is enabled. (The default value is true) + ///
+ [EditorBrowsable(EditorBrowsableState.Never)] + public bool EnableFontSizeScale + { + get + { + return (bool)GetValue(EnableFontSizeScaleProperty); + } + set + { + SetValue(EnableFontSizeScaleProperty, value); + NotifyPropertyChanged(); + } + } + private TextLabelSelectorData EnsureSelectorData() => selectorData ?? (selectorData = new TextLabelSelectorData()); /// @@ -1512,6 +1530,7 @@ namespace Tizen.NUI.BaseComponents internal static readonly int TextFit = Interop.TextLabel.TextFitGet(); internal static readonly int MinLineSize = Interop.TextLabel.MinLineSizeGet(); internal static readonly int FontSizeScale = Interop.TextLabel.FontSizeScaleGet(); + internal static readonly int EnableFontSizeScale = Interop.TextLabel.EnableFontSizeScaleGet(); internal static readonly int EllipsisPosition = Interop.TextLabel.EllipsisPositionGet(); } diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs index da29df4..52a32cb 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabelBindableProperty.cs @@ -630,6 +630,27 @@ namespace Tizen.NUI.BaseComponents return temp; })); + [EditorBrowsable(EditorBrowsableState.Never)] + public static readonly BindableProperty EnableFontSizeScaleProperty = BindableProperty.Create(nameof(EnableFontSizeScale), typeof(bool), typeof(TextLabel), default(bool), propertyChanged: (BindableProperty.BindingPropertyChangedDelegate)((bindable, oldValue, newValue) => + { + var textLabel = (TextLabel)bindable; + if (newValue != null) + { + using (var property = new Tizen.NUI.PropertyValue((bool)newValue)) + { + Tizen.NUI.Object.SetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableFontSizeScale, property); + textLabel.RequestLayout(); + } + } + }), + defaultValueCreator: (BindableProperty.CreateDefaultValueDelegate)((bindable) => + { + var textLabel = (TextLabel)bindable; + bool temp; + Tizen.NUI.Object.GetProperty((System.Runtime.InteropServices.HandleRef)textLabel.SwigCPtr, TextLabel.Property.EnableFontSizeScale).Get(out temp); + return temp; + })); + /// /// ShadowOffsetProperty /// diff --git a/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextEditor.cs b/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextEditor.cs index d3327ff..3ce2cad 100755 --- a/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextEditor.cs +++ b/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextEditor.cs @@ -102,5 +102,55 @@ namespace Tizen.NUI.Devel.Tests testingTarget.Dispose(); tlog.Debug(tag, $"TextEditorTranslatablePlaceholderText END (OK)"); } + + [Test] + [Category("P1")] + [Description("TextEditor FontSizeScale.")] + [Property("SPEC", "Tizen.NUI.TextEditor.FontSizeScale A")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "CONSTR")] + [Property("AUTHOR", "bowon.ryu@samsung.com")] + public void TextEditorFontSizeScale() + { + tlog.Debug(tag, $"TextEditorFontSizeScale START"); + + var testingTarget = new TextEditor(true); + Assert.IsNotNull(testingTarget, "Can't create success object TextEditor"); + Assert.IsInstanceOf(testingTarget, "Should be an instance of TextEditor type."); + + testingTarget.FontSizeScale = 2.0f; + Assert.AreEqual(2.0f, testingTarget.FontSizeScale, "Should be equal!"); + + testingTarget.FontSizeScale = Tizen.NUI.FontSizeScale.UseSystemSetting; + Assert.AreEqual(Tizen.NUI.FontSizeScale.UseSystemSetting, testingTarget.FontSizeScale, "Should be equal!"); + + testingTarget.Dispose(); + tlog.Debug(tag, $"TextEditorFontSizeScale END (OK)"); + } + + [Test] + [Category("P1")] + [Description("TextEditor EnableFontSizeScale.")] + [Property("SPEC", "Tizen.NUI.TextEditor.EnableFontSizeScale A")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "CONSTR")] + [Property("AUTHOR", "bowon.ryu@samsung.com")] + public void TextEditorEnableFontSizeScale() + { + tlog.Debug(tag, $"TextEditorEnableFontSizeScale START"); + + var testingTarget = new TextEditor(true); + Assert.IsNotNull(testingTarget, "Can't create success object TextEditor"); + Assert.IsInstanceOf(testingTarget, "Should be an instance of TextEditor type."); + + testingTarget.EnableFontSizeScale = false; + Assert.AreEqual(false, testingTarget.EnableFontSizeScale, "Should be equal!"); + + testingTarget.EnableFontSizeScale = true; + Assert.AreEqual(true, testingTarget.EnableFontSizeScale, "Should be equal!"); + + testingTarget.Dispose(); + tlog.Debug(tag, $"TextEditorEnableFontSizeScale END (OK)"); + } } } diff --git a/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextField.cs b/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextField.cs index eb6fcd6..3c35882 100755 --- a/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextField.cs +++ b/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextField.cs @@ -1727,6 +1727,7 @@ namespace Tizen.NUI.Devel.Tests Assert.AreEqual(2.0f, testingTarget.FontSizeScale, "Should be equal!"); testingTarget.FontSizeScale = Tizen.NUI.FontSizeScale.UseSystemSetting; + Assert.AreEqual(Tizen.NUI.FontSizeScale.UseSystemSetting, testingTarget.FontSizeScale, "Should be equal!"); testingTarget.Dispose(); tlog.Debug(tag, $"TextFieldFontSizeScale END (OK)"); @@ -1734,6 +1735,31 @@ namespace Tizen.NUI.Devel.Tests [Test] [Category("P1")] + [Description("TextField EnableFontSizeScale.")] + [Property("SPEC", "Tizen.NUI.TextField.EnableFontSizeScale A")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "CONSTR")] + [Property("AUTHOR", "bowon.ryu@samsung.com")] + public void TextFieldEnableFontSizeScale() + { + tlog.Debug(tag, $"TextFieldEnableFontSizeScale START"); + + var testingTarget = new TextField(true); + Assert.IsNotNull(testingTarget, "Can't create success object TextField"); + Assert.IsInstanceOf(testingTarget, "Should be an instance of TextField type."); + + testingTarget.EnableFontSizeScale = false; + Assert.AreEqual(false, testingTarget.EnableFontSizeScale, "Should be equal!"); + + testingTarget.EnableFontSizeScale = true; + Assert.AreEqual(true, testingTarget.EnableFontSizeScale, "Should be equal!"); + + testingTarget.Dispose(); + tlog.Debug(tag, $"TextFieldEnableFontSizeScale END (OK)"); + } + + [Test] + [Category("P1")] [Description("TextField SelectWholeText.")] [Property("SPEC", "Tizen.NUI.TextField.SelectWholeText M")] [Property("SPEC_URL", "-")] diff --git a/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextLabel.cs b/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextLabel.cs new file mode 100755 index 0000000..50d437f --- /dev/null +++ b/test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/BaseComponents/TSTextLabel.cs @@ -0,0 +1,80 @@ +using global::System; +using NUnit.Framework; +using NUnit.Framework.TUnit; +using Tizen.NUI.Components; +using Tizen.NUI.BaseComponents; +using System.Collections.Generic; + +namespace Tizen.NUI.Devel.Tests +{ + using tlog = Tizen.Log; + + [TestFixture] + [Description("public/BaseComponents/TextLabel")] + public class PublicTextLabelTest + { + private const string tag = "NUITEST"; + + [SetUp] + public void Init() + { + tlog.Info(tag, "Init() is called!"); + } + + [TearDown] + public void Destroy() + { + tlog.Info(tag, "Destroy() is called!"); + } + + [Test] + [Category("P1")] + [Description("TextLabel FontSizeScale.")] + [Property("SPEC", "Tizen.NUI.TextLabel.FontSizeScale A")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "CONSTR")] + [Property("AUTHOR", "bowon.ryu@samsung.com")] + public void TextLabelFontSizeScale() + { + tlog.Debug(tag, $"TextLabelFontSizeScale START"); + + var testingTarget = new TextLabel(true); + Assert.IsNotNull(testingTarget, "Can't create success object TextLabel"); + Assert.IsInstanceOf(testingTarget, "Should be an instance of TextLabel type."); + + testingTarget.FontSizeScale = 2.0f; + Assert.AreEqual(2.0f, testingTarget.FontSizeScale, "Should be equal!"); + + testingTarget.FontSizeScale = Tizen.NUI.FontSizeScale.UseSystemSetting; + Assert.AreEqual(Tizen.NUI.FontSizeScale.UseSystemSetting, testingTarget.FontSizeScale, "Should be equal!"); + + testingTarget.Dispose(); + tlog.Debug(tag, $"TextLabelFontSizeScale END (OK)"); + } + + [Test] + [Category("P1")] + [Description("TextLabel EnableFontSizeScale.")] + [Property("SPEC", "Tizen.NUI.TextLabel.EnableFontSizeScale A")] + [Property("SPEC_URL", "-")] + [Property("CRITERIA", "CONSTR")] + [Property("AUTHOR", "bowon.ryu@samsung.com")] + public void TextLabelEnableFontSizeScale() + { + tlog.Debug(tag, $"TextLabelEnableFontSizeScale START"); + + var testingTarget = new TextLabel(true); + Assert.IsNotNull(testingTarget, "Can't create success object TextLabel"); + Assert.IsInstanceOf(testingTarget, "Should be an instance of TextLabel type."); + + testingTarget.EnableFontSizeScale = false; + Assert.AreEqual(false, testingTarget.EnableFontSizeScale, "Should be equal!"); + + testingTarget.EnableFontSizeScale = true; + Assert.AreEqual(true, testingTarget.EnableFontSizeScale, "Should be equal!"); + + testingTarget.Dispose(); + tlog.Debug(tag, $"TextLabelEnableFontSizeScale END (OK)"); + } + } +} -- 2.7.4