* UINavBar:增加可设置背景图片

This commit is contained in:
Sunny 2021-03-20 18:06:15 +08:00
parent cad36d42d5
commit d60eae420e
4 changed files with 5 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -330,7 +330,11 @@ namespace Sunny.UI
{
base.OnPaint(e);
if (BackgroundImage == null)
{
e.Graphics.Clear(BackColor);
}
NodeX = 0;
NodeY = Height - NodeSize.Height;