From 65edeffedd61b6c89d6514138f370474604ce28a Mon Sep 17 00:00:00 2001 From: Sunny Date: Wed, 25 Oct 2023 17:31:51 +0800 Subject: [PATCH] =?UTF-8?q?*=20UITextBox:=20=E5=A4=9A=E8=A1=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=97=B6=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Controls/UITextBox.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SunnyUI/Controls/UITextBox.cs b/SunnyUI/Controls/UITextBox.cs index d1e19197..0f306368 100644 --- a/SunnyUI/Controls/UITextBox.cs +++ b/SunnyUI/Controls/UITextBox.cs @@ -777,8 +777,8 @@ namespace Sunny.UI btn.Visible = false; edit.Top = 3; edit.Height = Height - 6; - edit.Left = 1; - edit.Width = Width - 2; + edit.Left = 4; + edit.Width = Width - 8; int barWidth = Math.Max(ScrollBarInfo.VerticalScrollBarWidth() + 1, ScrollBarWidth); bar.Top = 2;