Change value of TranslateTo and fontsize
authorHyerim Kim <rimi.kim@samsung.com>
Mon, 27 Mar 2017 08:17:19 +0000 (17:17 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:50 +0000 (18:34 +0900)
Change-Id: Ie99500fc438b1491a20a7ee56e633c06aed4ad22
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
TVHome/TVHome/Controls/MainPanelButton.xaml
TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml
TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs
TVHome/TVHome/Controls/SubPanelButton.xaml
TVHome/TVHome/Controls/SubPanelButton.xaml.cs
TVHome/TVHome/Controls/SubPanelReservedButton.xaml
TVHome/TVHome/Controls/SubPanelReservedButton.xaml.cs
TVHome/TVHome/Views/MainPanel.xaml.cs [changed mode: 0644->0755]
TVHome/TVHome/Views/SubPanel.xaml.cs
TVHome/TVHome/Views/SubThumbnailPanel.xaml.cs

index 07fee0d..af43df2 100755 (executable)
@@ -32,7 +32,7 @@
                RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=1}"
                RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.875}"
                Opacity="0"
-               FontSize="58"
+               FontSize="40"
                TextColor="White"
                LineBreakMode="TailTruncation"
                HorizontalTextAlignment="Center"
index 745923b..bb0e7b5 100755 (executable)
@@ -32,7 +32,7 @@
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.758241}"
            Opacity="0.6"
            TextColor="White"
-           FontSize="52"
+           FontSize="40"
            LineBreakMode="TailTruncation"
            HorizontalTextAlignment="Center"
            Text="{Binding CurrentStateDescription.Label}" />
index 2799af7..244f20b 100755 (executable)
@@ -51,7 +51,7 @@ namespace TVHome.Controls
 
 #pragma warning disable CS4014
             ButtonTitle.FadeTo(0.99, 300);
-            ButtonTitle.TranslateTo(0, 22, 300);
+            ButtonTitle.TranslateTo(0, 51.0145, 300);
             ButtonImage.ScaleTo(1.3, 300);
 #pragma warning restore CS4014
             await ButtonBgImage.ScaleTo(1.3, 300);
index a28f0a3..11b8061 100755 (executable)
@@ -26,7 +26,7 @@
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.758241}"
            Opacity="0.6"
            TextColor="White"
-           FontSize="52"
+           FontSize="40"
            LineBreakMode="TailTruncation"
            HorizontalTextAlignment="Center"
            Text="{Binding CurrentStateDescription.Label}" />
index 8022fc5..5093a59 100755 (executable)
@@ -50,7 +50,7 @@ namespace TVHome.Controls
 
 #pragma warning disable CS4014
             ButtonTitle.FadeTo(0.99, 300);
-            ButtonTitle.TranslateTo(0, 22, 300);
+            ButtonTitle.TranslateTo(0, 51.0145, 300);
 #pragma warning restore CS4014
             await ButtonImage.ScaleTo(1.3, 300);
         }
index 9db69c9..f8ab1e3 100755 (executable)
@@ -32,7 +32,7 @@
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToView, ElementName=ButtonBox, Property=Width, Factor=0.758241}"
            Opacity="0.6"
            TextColor="White"
-           FontSize="52"
+           FontSize="40"
            LineBreakMode="TailTruncation"
            HorizontalTextAlignment="Center"
            Text="{Binding CurrentStateDescription.Label}" />
index 793fd4a..1f403ea 100755 (executable)
@@ -50,7 +50,7 @@ namespace TVHome.Controls
 
 #pragma warning disable CS4014
             ButtonTitle.FadeTo(0.99, 300);
-            ButtonTitle.TranslateTo(0, 22, 300);
+            ButtonTitle.TranslateTo(0, 51.0145, 300);
             ButtonImage.ScaleTo(1.3, 300);
 #pragma warning restore CS4014
             await ButtonBgImage.ScaleTo(1.3, 300);
old mode 100644 (file)
new mode 100755 (executable)
index 0619207..bc67771
@@ -91,7 +91,7 @@ namespace TVHome.Views
         public async void SelectPanel()
         {
             await Task.Delay(300);
-            await this.TranslateTo(0, -78, 300);
+            await this.TranslateTo(0, -180.87, 300);
         }
 
         public override async void ShowPanel()
index e33b6de..c4ceeeb 100755 (executable)
@@ -107,9 +107,9 @@ namespace TVHome.Views
 
 #pragma warning disable CS4014
             PanelScrollView.ScrollToAsync(0, 0, true);
-            this.TranslateTo(0, 1, 0);
+            this.TranslateTo(0, 338.55, 300);
 #pragma warning restore CS4014
-            await this.FadeTo(0, 0);
+            await this.FadeTo(0, 300);
         }
 
         public override async void ShowPanel()
@@ -147,7 +147,7 @@ namespace TVHome.Views
 
             await Task.Delay(300);
 #pragma warning disable CS4014
-            this.TranslateTo(0, -146, 300);
+            this.TranslateTo(0, -338.55, 300);
 #pragma warning restore CS4014
             await this.FadeTo(0.99, 300);
         }
index 62301a0..18e38ad 100755 (executable)
@@ -101,9 +101,9 @@ namespace TVHome.Views
 
 #pragma warning disable CS4014
                 PanelScrollView.ScrollToAsync(0, 0, true);
-                this.TranslateTo(0, 1, 0);
+                this.TranslateTo(0, 324.6377, 300);
 #pragma warning restore CS4014
-                await this.FadeTo(0, 0);
+                await this.FadeTo(0, 300);
             }
         }
 
@@ -123,9 +123,9 @@ namespace TVHome.Views
                 }
 
 #pragma warning disable CS4014
-                this.TranslateTo(0, 0, 0);
+                this.TranslateTo(0, 0, 300);
 #pragma warning restore CS4014
-                await this.FadeTo(0.3, 0);
+                await this.FadeTo(0.3, 300);
             }
         }
 
@@ -144,7 +144,7 @@ namespace TVHome.Views
 
             await Task.Delay(300);
 #pragma warning disable CS4014
-            this.TranslateTo(0, -140, 300);
+            this.TranslateTo(0, -324.6377, 300);
 #pragma warning restore CS4014
             await this.FadeTo(0.99, 300);
         }