From 3c6cad1224e7cb985f03d15cc98a4a2074a5af49 Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期一, 22 十二月 2025 22:25:33 +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