change tilestyle

This commit is contained in:
stubbfel
2013-07-17 12:22:32 +02:00
parent a7769184d5
commit 98a51bce24
3 changed files with 7 additions and 4 deletions

View File

@@ -33,7 +33,7 @@
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>

View File

@@ -50,6 +50,8 @@ namespace CampusAppWP8.Pages
ContentPanel.Margin = new Thickness(12, -24, 0, 0);
HomeworkAppButtonText.Text = AppResources.HomeworkApp_Title;
ContentPanel.RowDefinitions[3].Height = GridLength.Auto;
ContentPanel.ColumnDefinitions[3].Width = new GridLength(1, GridUnitType.Star);
}
else
{
@@ -65,9 +67,10 @@ namespace CampusAppWP8.Pages
LinkAppButton.SetValue(Grid.RowProperty, 3);
LinkAppButton.SetValue(Grid.ColumnProperty, 2);
ContentPanel.Margin = new Thickness(12, 0, 0, 0);
HomeworkAppButtonText.Text = AppResources.HomeworkApp_Title2;
ContentPanel.RowDefinitions[3].Height = new GridLength(1,GridUnitType.Star);
ContentPanel.ColumnDefinitions[3].Width = GridLength.Auto;
}
}

View File

@@ -9,7 +9,7 @@
</Style>
<Style x:Key="StartPageButton" TargetType="Button">
<Setter Property="Margin" Value="-10"/>
<Setter Property="Margin" Value="-6"/>
<Setter Property="BorderBrush" Value="{x:Null}"/>
<Setter Property="Background" Value="{StaticResource PhoneAccentBrush}"/>
<Setter Property="VerticalContentAlignment" Value="Stretch"/>