btn.Feedback = false;
btn.PointSize = _pointSize;
float buttonWidth = ManualTest.IsMobile() ? Window.Instance.Size.Width * 0.18f : Window.Instance.Size.Width * 0.06f;
+ if (ManualTest.IsEmulator())
+ {
+ buttonWidth = Window.Instance.Size.Width * 0.16f;
+ }
btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);
btn.TextColor = new Color(0, 0, 0, 1);
btn.ImageShadow = new ImageShadow
_notRun.PointSize = _pointSize;
_notRun.Text = "Not Run";
float buttonWidth = ManualTest.IsMobile() ? Window.Instance.Size.Width * 0.18f : Window.Instance.Size.Width * 0.06f;
+ if (ManualTest.IsEmulator())
+ {
+ buttonWidth = Window.Instance.Size.Width * 0.16f;
+ }
_notRun.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);
_passButton = new Button();
using System.ComponentModel;
using Tizen.NUI.BaseComponents;
using Tizen.NUI;
-using Tizen.NUI.Components;\r
-\r
+using Tizen.NUI.Components;
+
namespace Tizen.NUI.Tests
{
}
if (ManualTest.IsWearable())
- {\r
- WearableManualTestNUI.GetInstance().UnlockUIButton();\r
+ {
+ WearableManualTestNUI.GetInstance().UnlockUIButton();
}
- else\r
- {\r
- ManualTestNUI.GetInstance().UnlockUIButton();\r
+ else
+ {
+ ManualTestNUI.GetInstance().UnlockUIButton();
}
}
}
return false;
- }\r
-\r
+ }
+
public static float GetPointSize()
{
float retValue = 10.0f; //default
string value;
Tizen.System.Information.TryGetValue("tizen.org/feature/profile", out value);
+ Tizen.Log.Debug("NUITC", $"GetPointSize() value={value}");
switch (value)
{
case "wearable":
retValue = 20.0f;
break;
}
+
+ if (ManualTest.IsEmulator())
+ {
+ retValue = 4.5f;
+ }
+
+ Tizen.Log.Debug("NUITC", $"GetPointSize() retValue={retValue}");
return retValue;
}