Skip to content

Commit

Permalink
Changed item layout to a Grid
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosbegega committed Dec 6, 2015
1 parent bab5981 commit 60241c9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions hwstart/RestaurantManager.UniversalWindows/ExpeditePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,20 @@
<GridView Grid.Row="1" ItemsSource="{Binding OrderItems}">
<GridView.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical" Background="Gray">
<ListView ItemsSource="{Binding Items}" MinHeight="100" Background="Black">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ListView ItemsSource="{Binding Items}" MinHeight="100" Background="Black" Grid.Row="0">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Title}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<Border Background="Gray" MinHeight="100">
<Border Background="Gray" MinHeight="100" Grid.Row="1">
<TextBlock>
<Run Text="{Binding Table.Description}" FontSize="20"/>
<LineBreak />
Expand All @@ -45,8 +50,8 @@
<Run Text="{Binding SpecialRequests}" />
</TextBlock>
</Border>
<Button Content="Delete" HorizontalAlignment="Center" FontSize="20" Background="LightGray"/>
</StackPanel>
<Button Content="Delete" HorizontalAlignment="Center" FontSize="20" Background="LightGray" Grid.Row="2"/>
</Grid>
</DataTemplate>
</GridView.ItemTemplate>
</GridView>
Expand Down

0 comments on commit 60241c9

Please sign in to comment.