diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-12-01 22:39:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-01 22:39:43 +0100 |
commit | 1ff0db9c6f4ba1167e6b2620066f83088f23c5bf (patch) | |
tree | dbab7e305046c6ee4b1ccafd60afd3e255385320 /Xamarin.Forms.Platform.UAP/PageControlStyle.xaml | |
parent | e413e0cf331ae1512e2d8a6fcc89446c1cf2225c (diff) | |
download | xamarin-forms-1ff0db9c6f4ba1167e6b2620066f83088f23c5bf.tar.gz xamarin-forms-1ff0db9c6f4ba1167e6b2620066f83088f23c5bf.tar.bz2 xamarin-forms-1ff0db9c6f4ba1167e6b2620066f83088f23c5bf.zip |
Jimmgarrido uwp toolbar (#588)
* Fixed CommandBar being clipped when expanded by removing explicit Height
* Add UITest
Diffstat (limited to 'Xamarin.Forms.Platform.UAP/PageControlStyle.xaml')
-rw-r--r-- | Xamarin.Forms.Platform.UAP/PageControlStyle.xaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.UAP/PageControlStyle.xaml b/Xamarin.Forms.Platform.UAP/PageControlStyle.xaml index bd199487..e1137a7c 100644 --- a/Xamarin.Forms.Platform.UAP/PageControlStyle.xaml +++ b/Xamarin.Forms.Platform.UAP/PageControlStyle.xaml @@ -4,7 +4,8 @@ xmlns:uwp="using:Xamarin.Forms.Platform.UWP"> <Style TargetType="uwp:PageControl"> <Setter Property="ContentMargin" Value="0" /> - <Setter Property="TitleBrush" Value="{ThemeResource DefaultTextForegroundThemeBrush}" /> + <Setter Property="ToolbarBackground" Value="{ThemeResource SystemControlBackgroundChromeMediumLowBrush}"/> + <Setter Property="TitleBrush" Value="{ThemeResource DefaultTextForegroundThemeBrush}" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="uwp:PageControl"> @@ -27,7 +28,7 @@ </Border> <Border x:Name="TopCommandBarArea" Grid.Column="1" HorizontalAlignment="Stretch"> - <uwp:FormsCommandBar x:Name="CommandBar" Background="{TemplateBinding ToolbarBackground}" Height="{ThemeResource TitleBarHeight}" /> + <uwp:FormsCommandBar x:Name="CommandBar" Background="{TemplateBinding ToolbarBackground}" /> </Border> </Grid> |