From: Hyerim Kim Date: Mon, 27 Mar 2017 08:17:19 +0000 (+0900) Subject: Change value of TranslateTo and fontsize X-Git-Tag: submit/tizen/20170808.015446~156 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1f55dbe94d760a5122efa6f5943dc99a97fd04d;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Change value of TranslateTo and fontsize Change-Id: Ie99500fc438b1491a20a7ee56e633c06aed4ad22 Signed-off-by: Hyerim Kim --- diff --git a/TVHome/TVHome/Controls/MainPanelButton.xaml b/TVHome/TVHome/Controls/MainPanelButton.xaml index 07fee0d..af43df2 100755 --- a/TVHome/TVHome/Controls/MainPanelButton.xaml +++ b/TVHome/TVHome/Controls/MainPanelButton.xaml @@ -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" diff --git a/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml b/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml index 745923b..bb0e7b5 100755 --- a/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml +++ b/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml @@ -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}" /> diff --git a/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs b/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs index 2799af7..244f20b 100755 --- a/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs +++ b/TVHome/TVHome/Controls/SubPanelAllAppsButton.xaml.cs @@ -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); diff --git a/TVHome/TVHome/Controls/SubPanelButton.xaml b/TVHome/TVHome/Controls/SubPanelButton.xaml index a28f0a3..11b8061 100755 --- a/TVHome/TVHome/Controls/SubPanelButton.xaml +++ b/TVHome/TVHome/Controls/SubPanelButton.xaml @@ -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}" /> diff --git a/TVHome/TVHome/Controls/SubPanelButton.xaml.cs b/TVHome/TVHome/Controls/SubPanelButton.xaml.cs index 8022fc5..5093a59 100755 --- a/TVHome/TVHome/Controls/SubPanelButton.xaml.cs +++ b/TVHome/TVHome/Controls/SubPanelButton.xaml.cs @@ -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); } diff --git a/TVHome/TVHome/Controls/SubPanelReservedButton.xaml b/TVHome/TVHome/Controls/SubPanelReservedButton.xaml index 9db69c9..f8ab1e3 100755 --- a/TVHome/TVHome/Controls/SubPanelReservedButton.xaml +++ b/TVHome/TVHome/Controls/SubPanelReservedButton.xaml @@ -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}" /> diff --git a/TVHome/TVHome/Controls/SubPanelReservedButton.xaml.cs b/TVHome/TVHome/Controls/SubPanelReservedButton.xaml.cs index 793fd4a..1f403ea 100755 --- a/TVHome/TVHome/Controls/SubPanelReservedButton.xaml.cs +++ b/TVHome/TVHome/Controls/SubPanelReservedButton.xaml.cs @@ -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); diff --git a/TVHome/TVHome/Views/MainPanel.xaml.cs b/TVHome/TVHome/Views/MainPanel.xaml.cs old mode 100644 new mode 100755 index 0619207..bc67771 --- a/TVHome/TVHome/Views/MainPanel.xaml.cs +++ b/TVHome/TVHome/Views/MainPanel.xaml.cs @@ -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() diff --git a/TVHome/TVHome/Views/SubPanel.xaml.cs b/TVHome/TVHome/Views/SubPanel.xaml.cs index e33b6de..c4ceeeb 100755 --- a/TVHome/TVHome/Views/SubPanel.xaml.cs +++ b/TVHome/TVHome/Views/SubPanel.xaml.cs @@ -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); } diff --git a/TVHome/TVHome/Views/SubThumbnailPanel.xaml.cs b/TVHome/TVHome/Views/SubThumbnailPanel.xaml.cs index 62301a0..18e38ad 100755 --- a/TVHome/TVHome/Views/SubThumbnailPanel.xaml.cs +++ b/TVHome/TVHome/Views/SubThumbnailPanel.xaml.cs @@ -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); }