mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: LayDes Fixed classname issue #1281
git-svn-id: svn://ultimatepp.org/upp/trunk@8972 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
21003c0dbe
commit
c5dae09d7b
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ void LayoutItem::UnknownPaint(Draw& w)
|
|||
int q = FindProperty("SetLabel");
|
||||
if(q >= 0 && IsString(~property[q]))
|
||||
DrawSmartText(w, 0, 0, csize.cx, ToUtf8((WString)~property[q]));
|
||||
Size tsz = GetTextSize(type, Arial(11));
|
||||
Size tsz = GetTextSize(type, LayFont());
|
||||
w.DrawRect(csize.cx - tsz.cx, csize.cy - tsz.cy, tsz.cx, tsz.cy, SColorShadow);
|
||||
w.DrawText(csize.cx - tsz.cx, csize.cy - tsz.cy, type, LayFont(), SColorLight);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue