[Non-ACR][WindowSystem][Fix large text size problem in NUI.WindowSystem.Manual test... 77/298977/1
authordongsug.song <dongsug.song@samsung.com>
Mon, 18 Sep 2023 04:27:40 +0000 (13:27 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Mon, 18 Sep 2023 04:27:40 +0000 (13:27 +0900)
Change-Id: I019708862714d41e2b41c9ad85205b3cf39e0c9c

tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/ManualTestPage.cs
tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/Utils.cs

index 4aa386c..15fe19a 100755 (executable)
@@ -243,6 +243,10 @@ namespace Tizen.NUI.WindowSystem.Tests
             btn.Text = text;\r
             btn.PointSize = _pointSize;\r
             float buttonWidth = ManualTest.IsMobile() ? Window.Instance.Size.Width * 0.18f : Window.Instance.Size.Width * 0.06f;\r
+            if (ManualTest.IsEmulator())\r
+            {\r
+                buttonWidth =  Window.Instance.Size.Width * 0.18f;\r
+            }\r
             btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);\r
             btn.TextColor = new Color(0, 0, 0, 1);\r
             btn.ImageShadow = new ImageShadow\r
@@ -515,6 +519,10 @@ namespace Tizen.NUI.WindowSystem.Tests
             _notRun.PointSize = _pointSize;\r
             _notRun.Text = "Not Run";\r
             float buttonWidth = ManualTest.IsMobile() ? Window.Instance.Size.Width * 0.18f : Window.Instance.Size.Width * 0.06f;\r
+            if (ManualTest.IsEmulator())\r
+            {\r
+                buttonWidth =  Window.Instance.Size.Width * 0.18f;\r
+            }\r
             _notRun.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);\r
 \r
             _passButton = new Button();\r
index bb0433a..e1066c4 100644 (file)
@@ -239,6 +239,10 @@ namespace Tizen.NUI.WindowSystem.Tests
                     retValue = 20.0f;
                     break;
             }
+            if (ManualTest.IsEmulator())
+            {
+                retValue =  5.0f;
+            }
             return retValue;
         }