Skip to content

Commit

Permalink
Add theme resource (microsoft/microsoft-ui-xaml#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinnara committed Jun 26, 2020
1 parent 1e4cce8 commit 77abc41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ModernWpf/Styles/TabControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

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

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

<primitives:CornerRadiusFilterConverter x:Key="TopCornerRadiusFilterConverter" Filter="Top" />
<primitives:CornerRadiusFilterConverter x:Key="RightCornerRadiusFilterConverter" Filter="Right" />
<primitives:CornerRadiusFilterConverter x:Key="BottomCornerRadiusFilterConverter" Filter="Bottom" />
Expand Down Expand Up @@ -63,7 +65,7 @@
Width="1"
BorderBrush="{DynamicResource TabViewItemSeparator}"
BorderThickness="1"
Margin="0,6,0,6" />
Margin="{DynamicResource TabViewItemSeparatorMargin}" />

<Border
x:Name="TabContainer"
Expand Down
2 changes: 1 addition & 1 deletion samples/DragablzSample/Themes/Generic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
Width="1"
BorderBrush="{DynamicResource TabViewItemSeparator}"
BorderThickness="1"
Margin="0,6,0,6" />
Margin="{DynamicResource TabViewItemSeparatorMargin}" />

<Border
x:Name="TabContainer"
Expand Down

0 comments on commit 77abc41

Please sign in to comment.