Skip to content

Commit

Permalink
Bug fix of recipedetailview over the entire window
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjez committed Apr 12, 2017
1 parent a2b50f4 commit 9e5e05e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Labs/IW5-Excercise-05/CookBook.App/Views/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Grid>
<Grid x:Name="FirstColumnGrid">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Button Content="Add new Recipe" Command="{Binding CreateRecipeCommand}"></Button>
<views:RecipeListView Grid.Row="1"></views:RecipeListView>
</Grid>
<views:RecipeDetailView Grid.Column="1"></views:RecipeDetailView>
<views:RecipeDetailView Grid.Column="1" MaxWidth="{Binding ElementName=FirstColumnGrid, Path=ActualWidth}"></views:RecipeDetailView>
</Grid>
</TabItem>
<TabItem Header="Ingredients">
Expand Down

0 comments on commit 9e5e05e

Please sign in to comment.