mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
CtrlLib: Fixed EditField::NullText with AlignRight
This commit is contained in:
parent
0a26258c38
commit
1916613d17
1 changed files with 1 additions and 0 deletions
|
|
@ -330,6 +330,7 @@ void EditField::Paint(Draw& w)
|
|||
String nulltext = GetTextAttr(ATTR_NULLTEXT);
|
||||
Image nullicon = GetAttr<Image>(ATTR_NULLICON);
|
||||
if(IsNull(text) && (!IsNull(nulltext) || !IsNull(nullicon))) {
|
||||
x = 0;
|
||||
WString nt = nulltext.ToWString();
|
||||
const wchar *txt = nt;
|
||||
if(!IsNull(nullicon)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue