* UIListBox: 选中项显示方角
This commit is contained in:
parent
0a08a04b35
commit
1085aa6b95
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -593,7 +593,7 @@ namespace Sunny.UI
|
||||
if (!otherState)
|
||||
{
|
||||
e.Graphics.FillRectangle(BackColor, e.Bounds);
|
||||
e.Graphics.FillRoundRectangle(backColor, rect, 5);
|
||||
e.Graphics.FillRectangle(backColor, rect);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -610,7 +610,7 @@ namespace Sunny.UI
|
||||
}
|
||||
|
||||
e.Graphics.FillRectangle(BackColor, e.Bounds);
|
||||
e.Graphics.FillRoundRectangle(backColor, rect, 5);
|
||||
e.Graphics.FillRectangle(backColor, rect);
|
||||
}
|
||||
|
||||
Graphics g = e.Graphics;
|
||||
|
@ -672,7 +672,7 @@ namespace Sunny.UI
|
||||
if (!otherState)
|
||||
{
|
||||
e.Graphics.FillRectangle(BackColor, e.Bounds);
|
||||
e.Graphics.FillRoundRectangle(backColor, rect, 5);
|
||||
e.Graphics.FillRectangle(backColor, rect);
|
||||
e.Graphics.DrawString(showText, e.Font, foreColor, e.Bounds, sStringFormat);
|
||||
}
|
||||
else
|
||||
@ -690,7 +690,7 @@ namespace Sunny.UI
|
||||
}
|
||||
|
||||
e.Graphics.FillRectangle(BackColor, e.Bounds);
|
||||
e.Graphics.FillRoundRectangle(backColor, rect, 5);
|
||||
e.Graphics.FillRectangle(backColor, rect);
|
||||
e.Graphics.DrawString(showText, e.Font, foreColor, e.Bounds, sStringFormat);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user