From 69af65644a533efe50051a02f7861ce40ef7636e Mon Sep 17 00:00:00 2001 From: "zhengxuan.zhang" Date: Thu, 26 Mar 2026 15:24:48 +0800 Subject: [PATCH] =?UTF-8?q?#0047=20=E7=BE=8E=E8=A7=82=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- XplorePlane/App.xaml.cs | 5 +- .../ImageProcessing/PipelineEditorView.xaml | 9 +--- XplorePlane/Views/Main/MainWindow.xaml | 52 +++++++++---------- XplorePlane/Views/Main/MainWindow.xaml.cs | 17 +++++- XplorePlane/readme.txt | 4 +- 5 files changed, 48 insertions(+), 39 deletions(-) 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="工具箱" /> -