From d0db069d13e494e02e0132fd06513cf500812c24 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期五, 19 十二月 2025 13:57:01 +0800
Subject: [PATCH] 增加返工页面
---
DevApp/Gs.DevApp/UserControl/Toast.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/Toast.cs b/DevApp/Gs.DevApp/UserControl/Toast.cs
index 5cd8583..15d856e 100644
--- a/DevApp/Gs.DevApp/UserControl/Toast.cs
+++ b/DevApp/Gs.DevApp/UserControl/Toast.cs
@@ -30,7 +30,7 @@
using (Graphics graphics = this.CreateGraphics())
{
Size textSize = TextRenderer.MeasureText(messageText, lbMsg.Font);
- clientWidth = (int)textSize.Width;
+ clientWidth = (int)textSize.Width + 10;
clientHeight= (int)textSize.Height+10;
}
this.ClientSize = new System.Drawing.Size(clientWidth, clientHeight);
--
Gitblit v1.9.3