* UIForm: 调整显示位置
This commit is contained in:
parent
2c3d77f12a
commit
df86542c41
@ -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
|
||||
{
|
||||
|
@ -613,6 +613,8 @@ namespace Sunny.UI
|
||||
|
||||
ControlBoxLeft = ExtendBoxRect.Left - 2;
|
||||
}
|
||||
|
||||
if (ControlBoxLeft != Width) ControlBoxLeft -= 6;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user