mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
ide: Color and Font in Layout Designer are now with Upp::
This commit is contained in:
parent
fbee663568
commit
a16f20072a
5 changed files with 18 additions and 3 deletions
|
|
@ -78,6 +78,7 @@ void LayoutItem::CreateProperties(const String& classname, int level)
|
|||
ItemProperty& ip = q >= 0 ? property.Set(q, n) : property.Add(n);
|
||||
ip.level = l;
|
||||
ip.name = r.name;
|
||||
DDUMP(ip.name);
|
||||
if(!IsNull(r.defval))
|
||||
try {
|
||||
CParser p(r.defval);
|
||||
|
|
@ -378,6 +379,7 @@ Image GetTypeIcon(const String& type, int cx, int cy, int i, Color bg)
|
|||
if(p.iconsize[i] != Size(cx, cy)) {
|
||||
p.iconsize[i] = Size(cx, cy);
|
||||
LayoutItem m;
|
||||
DDUMP(type);
|
||||
m.Create(type);
|
||||
Size stdsize = Zsz(m.GetStdSize());
|
||||
if(stdsize.cx == 0 || stdsize.cy == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue