.Core: Time::Compare, .CtrlLib: fixed visual glitch with EditField::NullIcon

git-svn-id: svn://ultimatepp.org/upp/trunk@2518 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-07-05 22:26:32 +00:00
commit abcd3c743b
3 changed files with 15 additions and 12 deletions

View file

@ -290,7 +290,7 @@ void EditField::Paint(Draw& w)
const wchar *txt = nulltext;
if(!IsNull(nullicon)) {
int icx = nullicon.GetWidth();
w.DrawRect(x, 0, icx, fcy, paper);
w.DrawRect(x, 0, icx + 4, fcy, paper);
w.DrawImage(x, (fcy - nullicon.GetHeight()) / 2, nullicon);
x += icx + 4;
}