mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
.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:
parent
cd1d82c1e6
commit
abcd3c743b
3 changed files with 15 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue