* UIComboBox: 增加清除按钮

This commit is contained in:
Sunny 2023-02-04 21:25:36 +08:00
parent 4767ad6e01
commit b26c3ea100

View File

@ -347,7 +347,7 @@ namespace Sunny.UI
{
symbol = 261527;
SizeF sf = g.GetFontImageSize(symbol, 24);
g.DrawFontImage(symbol, 24, color, Width - 28 + (12 - sf.Width / 2.0f), (Height - sf.Height) / 2.0f, 2, 2);
g.DrawFontImage(symbol, 24, color, Width - 28 + (12 - sf.Width / 2.0f), (Height - sf.Height) / 2.0f, 1, 1);
}
else
{