CtrlLib: fixed visual artefact in EditField

git-svn-id: svn://ultimatepp.org/upp/trunk@6575 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-11-19 10:36:59 +00:00
parent 488ab50c58
commit 7f9a728206

View file

@ -320,7 +320,7 @@ void EditField::Paint(Draw& w)
}
int x = -sc;
bool ar = alignright && !HasFocus();
w.DrawRect(x, 0, sz.cx, fcy, paper);
w.DrawRect(0, 0, sz.cx, fcy, paper);
if(IsNull(text) && (!IsNull(nulltext) || !IsNull(nullicon))) {
const wchar *txt = nulltext;
if(!IsNull(nullicon)) {