|
|
@@ -20,12 +20,12 @@
|
|
|
|
|
|
<Style x:Key="NavIcon" TargetType="TextBlock">
|
|
|
<Setter Property="FontFamily" Value="Segoe MDL2 Assets" />
|
|
|
- <Setter Property="FontSize" Value="28" />
|
|
|
+ <Setter Property="FontSize" Value="22" />
|
|
|
<Setter Property="Margin" Value="0,5,0,0" />
|
|
|
</Style>
|
|
|
|
|
|
<Style x:Key="NavText" TargetType="TextBlock">
|
|
|
- <Setter Property="FontSize" Value="28" />
|
|
|
+ <Setter Property="FontSize" Value="22" />
|
|
|
<Setter Property="Margin" Value="18,0,0,0" />
|
|
|
</Style>
|
|
|
|
|
|
@@ -35,15 +35,19 @@
|
|
|
<Setter Property="VerticalAlignment" Value="Center" />
|
|
|
<Setter Property="Margin" Value="10,5,10,0" />
|
|
|
</Style>
|
|
|
+ <Style x:Key="GameInfoHeaderPanel" TargetType="RelativePanel">
|
|
|
+ <Setter Property="VerticalAlignment" Value="Center" />
|
|
|
+ <Setter Property="Margin" Value="10,5,10,0" />
|
|
|
+ </Style>
|
|
|
|
|
|
<Style x:Key="GameInfoIcon" TargetType="TextBlock">
|
|
|
<Setter Property="FontFamily" Value="Segoe MDL2 Assets" />
|
|
|
- <Setter Property="FontSize" Value="20" />
|
|
|
+ <Setter Property="FontSize" Value="16" />
|
|
|
<Setter Property="Margin" Value="5,5,0,0" />
|
|
|
</Style>
|
|
|
|
|
|
<Style x:Key="GameInfoText" TargetType="TextBlock">
|
|
|
- <Setter Property="FontSize" Value="20" />
|
|
|
+ <Setter Property="FontSize" Value="16" />
|
|
|
<Setter Property="Margin" Value="15,0,0,0" />
|
|
|
</Style>
|
|
|
</Page.Resources>
|
|
|
@@ -99,12 +103,19 @@
|
|
|
</ListBox>
|
|
|
</Viewbox>
|
|
|
|
|
|
- <StackPanel RelativePanel.AlignBottomWithPanel="True" RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True" Background="Gray">
|
|
|
+ <RelativePanel RelativePanel.AlignBottomWithPanel="True" RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True" Background="Gray">
|
|
|
|
|
|
- <StackPanel Visibility="{Binding GameVisible, Converter={StaticResource BoolToVisConverter}}" HorizontalAlignment="Stretch">
|
|
|
- <StackPanel Style="{StaticResource GameInfoPanel}">
|
|
|
- <TextBlock Margin="5,0,0,0" FontSize="16" FontWeight="Bold" Text="Current game"/>
|
|
|
- </StackPanel>
|
|
|
+ <StackPanel Visibility="{Binding GameVisible, Converter={StaticResource BoolToVisConverter}}" RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True" RelativePanel.Above="Copyright" Margin="0,0,0,8">
|
|
|
+
|
|
|
+ <RelativePanel Style="{StaticResource GameInfoHeaderPanel}">
|
|
|
+ <TextBlock Margin="5,0,0,0" FontSize="18" FontWeight="Bold" Text="Current game" />
|
|
|
+ <HyperlinkButton Click="BackToGame_Click" RelativePanel.AlignRightWithPanel="True">
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <TextBlock Style="{StaticResource Icon}" Text="" Margin="0,3,0,0" Foreground="Black"/>
|
|
|
+ <TextBlock Text="Back to game" Margin="5,0,0,0" Foreground="Black"/>
|
|
|
+ </StackPanel>
|
|
|
+ </HyperlinkButton>
|
|
|
+ </RelativePanel>
|
|
|
|
|
|
<StackPanel Style="{StaticResource GameInfoPanel}">
|
|
|
<TextBlock Style="{StaticResource GameInfoIcon}" Text=""/>
|
|
|
@@ -115,18 +126,14 @@
|
|
|
<TextBlock Style="{StaticResource GameInfoIcon}" Text=""/>
|
|
|
<TextBlock Style="{StaticResource GameInfoText}" Text="{Binding Players}"/>
|
|
|
</StackPanel>
|
|
|
-
|
|
|
- <StackPanel Style="{StaticResource GameInfoPanel}">
|
|
|
- <Button Content="Back to Game" Click="BackToGame_Click" Style="{StaticResource Green}"/>
|
|
|
- </StackPanel>
|
|
|
</StackPanel>
|
|
|
|
|
|
- <StackPanel Orientation="Horizontal" Margin="15,5">
|
|
|
- <TextBlock Text="YJMPD-UWP @"/>
|
|
|
+ <StackPanel Orientation="Horizontal" Margin="15,5" RelativePanel.AlignBottomWithPanel="True" Name="Copyright">
|
|
|
+ <TextBlock Text="YJMPD-UWP ©"/>
|
|
|
<TextBlock Text="{Binding Year}" Margin="5,0,0,0" />
|
|
|
</StackPanel>
|
|
|
|
|
|
- </StackPanel>
|
|
|
+ </RelativePanel>
|
|
|
</RelativePanel>
|
|
|
</SplitView.Pane>
|
|
|
|