Browse Source

* UIForm: 调整显示位置

pull/95/head
Sunny 1 year ago
parent
commit
df86542c41
  1. 4
      SunnyUI/Forms/UIForm.cs
  2. 2
      SunnyUI/Forms/UIForm2.cs

4
SunnyUI/Forms/UIForm.cs

@ -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
{

2
SunnyUI/Forms/UIForm2.cs

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

Loading…
Cancel
Save