ccbuluo / duilib

Automatically exported from code.google.com/p/duilib
0 stars 0 forks source link

UIDesigner工具bug #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
UIDesignerView.cpp文件中InitUI实现中有如下代码:

    for (int i=0;i<pContainer->GetCount();i++)
    {
        InitUI(pContainer->GetItemAt(i), ++depth);
    }

按照我的理解,这个应该是
    for (int i=0;i<pContainer->GetCount();i++)
    {
        InitUI(pContainer->GetItemAt(i), depth+1);
    }

请确认~~

Original issue reported on code.google.com by zentr...@126.com on 15 Nov 2011 at 3:43