[NUI][Non-ACR][Fix text display issues and crash] 69/265169/3
authorzhouleonlei <zhouleon.lei@samsung.com>
Tue, 12 Oct 2021 09:12:39 +0000 (17:12 +0800)
committerzhouleonlei <zhouleon.lei@samsung.com>
Tue, 12 Oct 2021 09:34:41 +0000 (17:34 +0800)
Change-Id: I895c1b782f0b751c85a3032b6437295869ea2148

tct-suite-vs/Tizen.NUI.Manual.Tests/ManualTestPage.cs
tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSFocusManager.cs
tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSInputMethodContext.cs

index 32b6711..8e94b13 100755 (executable)
@@ -726,7 +726,9 @@ namespace Tizen.NUI.Tests
                 description.HorizontalAlignment = HorizontalAlignment.Begin;
                 description.PointSize = _pointSize;
                 description.Text = _currentTCInfo[(int)index];
+                description.MultiLine = true;
                 _detailList.AddChild(description, new TableView.CellPosition((uint)index, 0));
+                _detailList.SetFixedHeight((uint)index, Window.Instance.Size.Height * 0.0462f);
             }
         }
 
index d09826a..6e51875 100755 (executable)
@@ -65,7 +65,7 @@ namespace Tizen.NUI.Tests
             _button1.Text = information;
             _button1.PointSize = _pointSize;\r
             _button1.BackgroundColor = Color.Cyan;
-            _button1.Size = new Size(Window.Instance.Size.Width * 0.1f, Window.Instance.Size.Height * 0.0462f);
+            _button1.Size = new Size(Window.Instance.Size.Width * 0.3f, Window.Instance.Size.Height * 0.0462f);
             _button1.Focusable = true;
             FocusManager.Instance.SetAsFocusGroup(_button1, true);
             _testPage.ExecuteTC(_button1);
index da24eb3..aec9460 100755 (executable)
@@ -65,7 +65,7 @@ namespace Tizen.NUI.Tests
             _button.Text = information;
             _button.PointSize = _pointSize;
             _button.BackgroundColor = Color.Cyan;
-            _button.Size = new Size(Window.Instance.Size.Width * 0.1f, Window.Instance.Size.Height * 0.0462f);
+            _button.Size = new Size(Window.Instance.Size.Width * 0.3f, Window.Instance.Size.Height * 0.0462f);
             _button.Focusable = true;
             _testPage.ExecuteTC(_button);
         }
@@ -118,6 +118,8 @@ namespace Tizen.NUI.Tests
                 // Waits for user confirmation.
                 await ManualTest.WaitForConfirm();
                 inputMethodContext.KeyboardTypeChanged -= OnInputMethodContextEvent;
+                inputMethodContext.Dispose();
+                _textEditor.Dispose();
                 _testPage.ClearTestCase(_button);
             }
         }