From: darkleem Date: Thu, 20 Jul 2017 12:59:03 +0000 (+0900) Subject: Fixed invisible due to the same background and color for DateTimeSelector TC X-Git-Tag: submit/trunk/20170823.075128~110^2~12^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88272ee1edf289ee291080aca57baf559c391053;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fixed invisible due to the same background and color for DateTimeSelector TC - Change format to full length (TV crash issue) Change-Id: Ifcb4b4752205686215e9d020851dd27b39a887ab Signed-off-by: darkleem --- diff --git a/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs b/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs index 0a76c58..2cd239e 100644 --- a/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs +++ b/test/ElmSharp.Test/TC/DateTimeSelectorTest1.cs @@ -28,7 +28,7 @@ namespace ElmSharp.Test public override void Run(Window window) { Background bg = new Background(window); - bg.Color = Color.White; + bg.Color = Color.Gray; bg.Move(0, 0); bg.Resize(window.ScreenSize.Width, window.ScreenSize.Height); bg.Show(); @@ -55,7 +55,7 @@ namespace ElmSharp.Test label3.Text = string.Format("Current DateTime={0}", dateTime.DateTime); }; - dateTime.Resize(600, 600); + dateTime.Resize(720, 600); dateTime.Move(0, 300); dateTime.Show(); diff --git a/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs b/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs index aec7470..bbe8c75 100644 --- a/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs +++ b/test/ElmSharp.Test/TC/DateTimeSelectorTest2.cs @@ -28,7 +28,7 @@ namespace ElmSharp.Test public override void Run(Window window) { Background bg = new Background(window); - bg.Color = Color.White; + bg.Color = Color.Gray; bg.Move(0, 0); bg.Resize(window.ScreenSize.Width, window.ScreenSize.Height); bg.Show(); @@ -37,7 +37,7 @@ namespace ElmSharp.Test { DateTime = DateTime.Today, Style = "time_layout", - Format = "%I:%M %p" + Format = "%d/%b/%Y %I:%M %p" }; Label label1 = new Label(window); @@ -55,7 +55,7 @@ namespace ElmSharp.Test label3.Text = string.Format("Current DateTime={0}", dateTime.DateTime); }; - dateTime.Resize(600, 600); + dateTime.Resize(720, 600); dateTime.Move(0, 300); dateTime.Show();