Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Work around a bug in RoutedViewHost
The defaults for Horizontal/VerticalContentAlignment really should be
stretch, but instead they're "Left/Top". Work around it.
  • Loading branch information
anaisbetts committed May 7, 2012
1 parent 6092406 commit 2ea9fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AkavacheExplorer/MainWindow.xaml
Expand Up @@ -2,6 +2,6 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Routing="clr-namespace:ReactiveUI.Routing;assembly=ReactiveUI.Routing" x:Name="theWindow"
Title="MainWindow" Height="350" Width="525">
<Routing:RoutedViewHost Router="{Binding Path=ViewModel.Router, ElementName=theWindow}" />
Title="Akavache Explorer" Height="350" Width="525">
<Routing:RoutedViewHost Router="{Binding Path=ViewModel.Router, ElementName=theWindow}" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" />
</Window>

0 comments on commit 2ea9fe9

Please sign in to comment.