* UIForm:更新不显示标题时控件位置移动的Bug

This commit is contained in:
Sunny 2020-09-01 21:47:16 +08:00
parent e705339388
commit 3f4463d4f4
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -141,7 +141,7 @@ namespace Sunny.UI
} }
} }
if (e.Control.Top < TitleHeight) if (ShowTitle && e.Control.Top < TitleHeight)
{ {
e.Control.Top = Padding.Top; e.Control.Top = Padding.Top;
} }