From 499a261e08f452aa81c4b5a4bad81550ec2e179d Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期三, 31 十二月 2025 14:03:07 +0800
Subject: [PATCH] 优化相机运动控制界面设计显示1
---
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs b/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs
index 10997aa..1df002a 100644
--- a/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs
@@ -561,6 +561,7 @@
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel1.Size = new Size(368, 39);
tableLayoutPanel1.TabIndex = 4;
+ tableLayoutPanel1.Paint += tableLayoutPanel1_Paint;
//
// textBox1
//
@@ -694,7 +695,8 @@
//
// MotionControlForm
//
- AutoScaleMode = AutoScaleMode.None;
+ AutoScaleDimensions = new SizeF(120F, 120F);
+ AutoScaleMode = AutoScaleMode.Dpi;
AutoSize = true;
ClientSize = new Size(900, 763);
Controls.Add(themeForm1);
--
Gitblit v1.9.3