Bladeren bron

Updated background to white

Jeroen 10 jaren geleden
bovenliggende
commit
28881c44b7
2 gewijzigde bestanden met toevoegingen van 9 en 9 verwijderingen
  1. 4 4
      Breda-Tour/MapScreen/WpDetailPage.xaml
  2. 5 5
      Breda-Tour/RouteSelectScreen/RouteExample.xaml

+ 4 - 4
Breda-Tour/MapScreen/WpDetailPage.xaml

@@ -9,7 +9,7 @@
     xmlns:data="using:Breda_Tour.Data"
     mc:Ignorable="d">
 
-    <Grid Background="White">
+    <Grid>
         <Grid.RowDefinitions>
             <RowDefinition Height="Auto"/>
             <RowDefinition Height="Auto"/>
@@ -18,7 +18,7 @@
         </Grid.RowDefinitions>
 
         <c:DefaultTopBar x:Name="NameBar" Grid.Row="0" Header="{x:Bind wp.Title}"/>
-        <ListView Grid.Row="1" ItemsSource="{x:Bind wp.Pictures}"
+        <ListView Background="White" Grid.Row="1" ItemsSource="{x:Bind wp.Pictures}"
                   ScrollViewer.HorizontalScrollMode="Enabled"
                     ScrollViewer.IsHorizontalRailEnabled="True"
                     ScrollViewer.VerticalScrollMode="Disabled" HorizontalAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Hidden">
@@ -40,11 +40,11 @@
             </ListView.ItemTemplate>
         </ListView>
 
-        <RelativePanel Grid.Row="2">
+        <RelativePanel Background="White" Grid.Row="2">
             <TextBlock x:Uid="WpDetailPagetxtBeschrijving" Text="Beschrijving" FontSize="20" Margin="15,15,0,15" />
             <Line X1="0" X2="{x:Bind Width, Mode=OneTime}" Y1="50" Y2="50" Stroke="Gray" StrokeThickness="2" />
         </RelativePanel>
-        <RelativePanel Grid.Row="3">
+        <RelativePanel Background="White" Grid.Row="3">
             <ScrollViewer Margin="15,0,0,0" VerticalScrollBarVisibility="Auto" >
                 <TextBlock HorizontalAlignment="Stretch"  VerticalAlignment="Stretch" TextWrapping="Wrap" Text="{x:Bind wp.Description}"/>
             </ScrollViewer>

+ 5 - 5
Breda-Tour/RouteSelectScreen/RouteExample.xaml

@@ -9,7 +9,7 @@
     xmlns:data="using:Breda_Tour.Data"
     mc:Ignorable="d">
 
-    <Grid Background="White">
+    <Grid>
         <Grid.RowDefinitions>
             <RowDefinition Height="Auto"/>
             <RowDefinition Height="Auto"/>
@@ -19,7 +19,7 @@
 
         <c:DefaultTopBar Grid.Row="0" x:Uid="RouteExamplePagetxtRouteVoorbeeld" Header="Routevoorbeeld"/>
 
-        <StackPanel Grid.Row="1">
+        <StackPanel Background="White" Grid.Row="1">
             <StackPanel Orientation="Horizontal" Margin="10,10,0,0">
                 <TextBlock x:Uid="RouteExamplePagetxtRouteInformatie" Text="Route informatie" FontSize="16"/>
                 <Button x:Name="StartButton" Visibility="Collapsed" Click="Button_Click" Margin="120,0,0,0" >
@@ -32,14 +32,14 @@
             <TextBlock x:Name="WaypointsBlok" FontSize="16" Margin="10,0,0,10"/>
 
         </StackPanel>
-        <StackPanel Grid.Row="2">
+        <StackPanel Background="White" Grid.Row="2">
             <Image Source="ms-appx:///Assets/Map.png" Width="360"  />
         </StackPanel>
 
-        <ListView Grid.Row="3" Margin="10,0,0,0" x:Name="Waypoints" ItemsSource="{x:Bind route.Waypoints}" IsItemClickEnabled="True" ItemClick="Waypoints_OnItemClick">
+        <ListView Background="White" Grid.Row="3" x:Name="Waypoints" ItemsSource="{x:Bind route.Waypoints}" IsItemClickEnabled="True" ItemClick="Waypoints_OnItemClick">
             <ListView.ItemContainerStyle>
                 <Style TargetType="ListViewItem">
-                    <Setter Property="Padding" Value="0"/>
+                    <Setter Property="Padding" Value="10,0,0,0"/>
                     <Setter Property="Margin" Value="0"/>
                 </Style>
             </ListView.ItemContainerStyle>