From c155e4584102d48cb7ac0741f36972186bfb945c Mon Sep 17 00:00:00 2001 From: Sunny Date: Tue, 19 Apr 2022 15:26:12 +0800 Subject: [PATCH] =?UTF-8?q?*=20UIForm:=20=E5=8F=AF=E6=8B=96=E6=8B=BD?= =?UTF-8?q?=E6=97=B6Padding.Top=E5=A2=9E=E5=8A=A01=EF=BC=8C=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E4=B8=80=E4=BA=9B=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Forms/UIForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SunnyUI/Forms/UIForm.cs b/SunnyUI/Forms/UIForm.cs index d0d98157..32c2c505 100644 --- a/SunnyUI/Forms/UIForm.cs +++ b/SunnyUI/Forms/UIForm.cs @@ -1626,7 +1626,7 @@ namespace Sunny.UI { ShowRect = true; ShowRadius = false; - Padding = new Padding(2, showTitle ? TitleHeight : 2, 2, 2); + Padding = new Padding(2, showTitle ? TitleHeight + 1 : 2, 2, 2); } else {