Skip to content

Commit

Permalink
v0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tally authored Feb 4, 2021
1 parent 7a10ed7 commit a6753b4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions DefaultControls/TabControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@
<ControlTemplate TargetType="{x:Type TabControl}">
<Grid KeyboardNavigation.TabNavigation="Local">
<Grid.ColumnDefinitions>
<ColumnDefinition x:Name="ColumnDefinition0" Width="67*" />
<ColumnDefinition Width="58*"/>
<ColumnDefinition x:Name="ColumnDefinition0" />
<ColumnDefinition x:Name="ColumnDefinition1" Width="0" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" x:Name="RowDefinition0" />
<RowDefinition Height="*" x:Name="RowDefinition1" />
</Grid.RowDefinitions>
<Border x:Name="HeaderBorder" Background="{DynamicResource PopupBackgroundBrush}"
BorderThickness="0,0,0,1" BorderBrush="{DynamicResource PopupBorderBrush}" Margin="2,0,2,0" Grid.ColumnSpan="2">
BorderThickness="0,0,0,1" BorderBrush="{DynamicResource PopupBorderBrush}" Margin="2,0,2,0">
<TabPanel x:Name="HeaderPanel" IsItemsHost="True" Panel.ZIndex="1" Width="Auto" Height="Auto"
KeyboardNavigation.TabIndex="1" RenderTransformOrigin="0.5,0.5">
<TabPanel.LayoutTransform>
Expand All @@ -45,7 +44,7 @@
</Border>
<Border x:Name="ContentPanel" Grid.Column="0" Grid.Row="1" BorderBrush="{DynamicResource PopupBorderBrush}" BorderThickness="1,0,1,1" Margin="2,0,2,2"
KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabIndex="2" Padding="5"
KeyboardNavigation.TabNavigation="Local" Background="{DynamicResource NormalBrushDark}" Grid.ColumnSpan="2">
KeyboardNavigation.TabNavigation="Local" Background="{DynamicResource NormalBrushDark}" >
<ContentPresenter x:Name="PART_SelectedContentHost" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
ContentSource="SelectedContent" />
</Border>
Expand Down

0 comments on commit a6753b4

Please sign in to comment.