From 303e6180d4f3d88e0feafc9515cae3be8117d2e7 Mon Sep 17 00:00:00 2001
From: chr <chrry550@163.com>
Date: 星期四, 07 三月 2024 16:30:18 +0800
Subject: [PATCH] 添加不同平台的行尾文件;
---
UI/StepSetting.xaml | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/UI/StepSetting.xaml b/UI/StepSetting.xaml
index 5632b03..0157b96 100644
--- a/UI/StepSetting.xaml
+++ b/UI/StepSetting.xaml
@@ -4,6 +4,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:WPFProject.UI"
+ xmlns:hc="https://handyorg.github.io/handycontrol"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<UserControl.Resources>
@@ -11,20 +12,24 @@
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
- <ResourceDictionary Source="/WPFProject;component/Style/colors.xaml"/>
+ <ResourceDictionary Source="/WPFProject;component/Style/colors.xaml"/>
+ <ResourceDictionary Source="/WPFProject;component/Style/MainTab.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style TargetType="Label"></Style>
<Style TargetType="ListView"></Style>
+ <Style TargetType="TabControl"/>
- <Style x:Key="tab" TargetType="TabItem" BasedOn="{StaticResource {x:Type TabItem}}">
- <Setter Property="Foreground" Value="Red"/>
- </Style>
+ <Color x:Key="DarkPrimaryColor">#e17933</Color>
+ <Color x:Key="PrimaryColor">#e17933</Color>
+ <Color x:Key="PrimaryTextColor">#e17933</Color>
+ <Color x:Key="SecondaryTitleColor">#e17933</Color>
+ <Color x:Key="BorderColor">#e17933</Color>
</ResourceDictionary>
</UserControl.Resources>
<Grid>
- <TabControl ItemContainerStyle="{StaticResource tab}" TabStripPlacement="Left">
+ <TabControl Style="{StaticResource ControlStyle}" TabStripPlacement="Left">
<TabItem Header="鍑芥暟鍒楄〃">
</TabItem>
<TabItem Header="鍙橀噺鍒楄〃">
--
Gitblit v1.9.1