chore: update MainContent.

This commit is contained in:
NaBian committed 2023-01-20 23:11:32 +08:00
1 parent bec25d7f64
commit 34054286e7
2 files changed
+6 -6

No files matched your search

@@ -1,8 +1,4 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:hc="https://handyorg.github.io/handycontrol" xmlns:avalonedit="http://icsharpcode.net/sharpdevelop/avalonedit" xmlns:ex="clr-namespace:HandyControlDemo.Tools.Extension">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:avalonedit="http://icsharpcode.net/sharpdevelop/avalonedit"
xmlns:ex="clr-namespace:HandyControlDemo.Tools.Extension">
<ResourceDictionary.MergedDictionaries> <ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Basic/Geometries.xaml" /> <ResourceDictionary Source="../Basic/Geometries.xaml" />
@@ -187,4 +183,8 @@
</Setter> </Setter>
</Style> </Style>
<Style x:Key="TabControl.PreviewCode" BasedOn="{StaticResource TabControlInLine}" TargetType="TabControl">
<Setter Property="BorderThickness" Value="0 1 0 0" />
</Style>
</ResourceDictionary> </ResourceDictionary>
@@ -109,7 +109,7 @@ public partial class MainContent
BorderCode.Child = new TabControl BorderCode.Child = new TabControl
{ {
Style = ResourceHelper.GetResource<Style>("TabControlInLine"), Style = ResourceHelper.GetResource<Style>("TabControl.PreviewCode"),
Items = Items =
{ {
new TabItem new TabItem