From 584a61b8e64da2326618eeffbf308cb7a584c846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F?= Date: Wed, 29 Apr 2026 10:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B0=94=E6=B3=A1=E6=B5=8B=E9=87=8F=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF:=20=E7=95=8C=E9=9D=A2=E9=A3=8E=E6=A0=BC=E7=8E=B0?= =?UTF-8?q?=E4=BB=A3=E5=8C=96=E3=80=81=E6=8C=89=E9=92=AE=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E5=88=B0=E5=B7=A5=E5=85=B7=E6=A0=8F=E3=80=81=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E5=90=8C=E6=AD=A5=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ImageProcessing/BubbleMeasurePanel.xaml | 152 ++++++++++-------- .../BubbleMeasurePanel.xaml.cs | 1 + 2 files changed, 83 insertions(+), 70 deletions(-) diff --git a/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml b/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml index 07d443a..e4fc177 100644 --- a/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml +++ b/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml @@ -3,104 +3,116 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="气泡测量工具" - Width="260" Height="340" + Width="340" Height="380" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" - Topmost="True" - ShowInTaskbar="False"> + Topmost="True" ShowInTaskbar="False" + Background="#F5F5F5" FontFamily="Microsoft YaHei UI"> - + + + + + - - - - + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml.cs b/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml.cs index 8169eac..99fa7aa 100644 --- a/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml.cs +++ b/XplorePlane/Views/ImageProcessing/BubbleMeasurePanel.xaml.cs @@ -56,6 +56,7 @@ namespace XplorePlane.Views.ImageProcessing }; // 初始同步:确保面板默认值推送到 canvas + _canvas?.SetBubbleTool(PolygonRoiCanvas.BubbleSubTool.Roi); _canvas?.SetBubbleThreshold((int)SliderThreshold.Value); _canvas?.SetBubbleBrushSize((int)SliderBrushSize.Value); if (double.TryParse(TbVoidLimit.Text, out double initLimit))