* UIForm: 调整显示位置

This commit is contained in:
Sunny 2024-02-19 22:18:06 +08:00
parent 2c3d77f12a
commit df86542c41
2 changed files with 6 additions and 0 deletions

View File

@ -587,7 +587,11 @@ namespace Sunny.UI
{
ExtendBoxRect = new Rectangle(ControlBoxRect.Left - 28 - 2, ControlBoxRect.Top, 28, 28);
}
ControlBoxLeft = ExtendBoxRect.Left - 2;
}
if (ControlBoxLeft != Width) ControlBoxLeft -= 6;
}
else
{

View File

@ -613,6 +613,8 @@ namespace Sunny.UI
ControlBoxLeft = ExtendBoxRect.Left - 2;
}
if (ControlBoxLeft != Width) ControlBoxLeft -= 6;
}
else
{