From 7ab97c8b132cbdf911531ec0b047b4c368560080 Mon Sep 17 00:00:00 2001 From: Felix Date: Wed, 15 Jul 2020 21:56:43 +0200 Subject: [PATCH 1/2] Add theme resources. --- dev/NavigationView/NavigationView.xaml | 8 ++++++-- dev/NavigationView/NavigationView_rs1_themeresources.xaml | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dev/NavigationView/NavigationView.xaml b/dev/NavigationView/NavigationView.xaml index efcb4fb941..4ab00ee469 100644 --- a/dev/NavigationView/NavigationView.xaml +++ b/dev/NavigationView/NavigationView.xaml @@ -282,6 +282,7 @@ x:Name="TopNavOverflowButton" Grid.Column="4" Content="More" + Margin="{ThemeResource TopNavigationViewOverflowButtonMargin}" Style="{StaticResource NavigationViewOverflowButtonStyleWhenPaneOnTop}" Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=TemplateSettings.OverflowButtonVisibility}"> @@ -326,7 +327,7 @@ + @@ -557,6 +559,7 @@ + @@ -564,6 +567,7 @@ + @@ -743,7 +747,7 @@ x:Name="SeparatorLine" Height="{ThemeResource NavigationViewItemSeparatorHeight}" Margin="{ThemeResource NavigationViewItemSeparatorMargin}" - Fill="{ThemeResource NavigationViewItemSeparatorForeground}" /> + Fill="{ThemeResource NavigationViewItemSeparatorForeground}" /> diff --git a/dev/NavigationView/NavigationView_rs1_themeresources.xaml b/dev/NavigationView/NavigationView_rs1_themeresources.xaml index 9a960c71a5..35307a3fc4 100644 --- a/dev/NavigationView/NavigationView_rs1_themeresources.xaml +++ b/dev/NavigationView/NavigationView_rs1_themeresources.xaml @@ -226,6 +226,7 @@ 10,0,16,0 + 12,0,12,0 40 40 40 @@ -245,9 +246,12 @@ 8,5,0,0 12,5,0,11 8,4,0,0 + 0 + 0 16,10 16,10 10,0 + 0 0,0,20,0 0,0,16,0 8,0,16,0 @@ -1202,6 +1206,7 @@