diff --git a/XplorePlane/App.xaml.cs b/XplorePlane/App.xaml.cs index 69a9b0a..3695e41 100644 --- a/XplorePlane/App.xaml.cs +++ b/XplorePlane/App.xaml.cs @@ -26,8 +26,11 @@ namespace XplorePlane { protected override void OnStartup(StartupEventArgs e) { - // 设置 Telerik Fluent 主题 + // 设置 Telerik Windows11 主题,缩小 Ribbon 整体尺寸 StyleManager.ApplicationTheme = new Windows11Theme(); + //Windows11Palette.Palette.FontSize = 11; + //Windows11Palette.Palette.FontSizeS = 10; + //Windows11Palette.Palette.FontSizeL = 13; // 强制使用中文 UI,确保 ImageProcessing 库显示中文 var zhCN = new CultureInfo("zh-CN"); diff --git a/XplorePlane/Views/ImageProcessing/PipelineEditorView.xaml b/XplorePlane/Views/ImageProcessing/PipelineEditorView.xaml index 270e9cc..4c80928 100644 --- a/XplorePlane/Views/ImageProcessing/PipelineEditorView.xaml +++ b/XplorePlane/Views/ImageProcessing/PipelineEditorView.xaml @@ -6,9 +6,9 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:prism="http://prismlibrary.com/" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" - prism:ViewModelLocator.AutoWireViewModel="True" d:DesignHeight="700" d:DesignWidth="350" + prism:ViewModelLocator.AutoWireViewModel="True" mc:Ignorable="d"> @@ -106,13 +106,6 @@ Style="{StaticResource ToolbarBtn}" ToolTip="工具箱" /> -