* UIForm: 修复窗体边框显示不全 #IBGJBS

This commit is contained in:
Sunny 2025-01-09 20:44:27 +08:00
parent b9daa7e005
commit 8727038717

View File

@ -61,6 +61,7 @@
* 2024-07-20: V3.6.8 * 2024-07-20: V3.6.8
* 2024-07-26: V3.6.8 * 2024-07-26: V3.6.8
* 2024-07-28: V3.6.8 * 2024-07-28: V3.6.8
* 2025-01-09: V3.8.1 #IBGJBS
******************************************************************************/ ******************************************************************************/
using System; using System;
@ -595,7 +596,7 @@ namespace Sunny.UI
if (ControlBoxLeft != Width) if (ControlBoxLeft != Width)
{ {
e.Graphics.FillRectangle(TitleColor, new Rectangle(ControlBoxLeft, 1, Width, TitleHeight - 2)); e.Graphics.FillRectangle(TitleColor, new Rectangle(ControlBoxLeft, 1, Width - ControlBoxLeft - 1, TitleHeight - 2));
} }
e.Graphics.SetHighQuality(); e.Graphics.SetHighQuality();