From 40072e2eb7a4dae8a6228661ec355562b934d150 Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Tue, 14 Oct 2025 12:33:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=BC=E5=BC=8F=E5=8C=96=E7=A2=B0?= =?UTF-8?q?=E6=92=9E=E6=8A=A5=E5=91=8A=E7=AA=97=E5=8F=A3=E4=B8=AD=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E9=97=B4=E9=9A=99=E7=9A=84=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题:检测间隙显示为0.05001768,精度过高不便阅读 解决:在XAML绑定中添加StringFormat={}{0:F2}格式化为两位小数 效果:现在显示为0.05,清晰易读 修改文件: - CollisionReportDialog.xaml: 为DetectionGap绑定添加格式化 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/UI/WPF/Views/CollisionReportDialog.xaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/WPF/Views/CollisionReportDialog.xaml b/src/UI/WPF/Views/CollisionReportDialog.xaml index 2c37a82..30220d7 100644 --- a/src/UI/WPF/Views/CollisionReportDialog.xaml +++ b/src/UI/WPF/Views/CollisionReportDialog.xaml @@ -264,7 +264,7 @@ NavisworksTransport 碰撞检测报告对话框 - 采用与主界面一致的Nav - +