Skip to content

Commit

Permalink
Add theme resource (#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix-Dev authored Jun 25, 2020
1 parent bc468fe commit 1c67178
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dev/TabView/TabView.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Expand Down Expand Up @@ -377,7 +377,6 @@
</Setter>
</Style>


<Style TargetType="local:TabViewItem">
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="UseSystemFocusVisuals" Value="{StaticResource UseSystemFocusVisuals}" />
Expand Down Expand Up @@ -648,7 +647,7 @@
Grid.Column="1"
BorderBrush="{ThemeResource TabViewItemSeparator}"
BorderThickness="1"
Margin="0,6,0,6"/>
Margin="{ThemeResource TabViewItemSeparatorMargin}"/>

<Grid x:Name="TabContainer"
Grid.Column="1"
Expand Down
2 changes: 2 additions & 0 deletions dev/TabView/TabView_themeresources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,6 @@

<x:Double x:Key="TabViewShadowDepth">16</x:Double>

<Thickness x:Key="TabViewItemSeparatorMargin">0,6,0,6</Thickness>

</ResourceDictionary>

0 comments on commit 1c67178

Please sign in to comment.