removeAllChildrenAndCleanUp没有刷新界面

  • 本帖最后由 淡墨… 于 2013-6-7 10:37 编辑 *

    cs::CocoScrollView * itemList = (cs::CocoScrollView *)(COCOUISYSTEM->getWidgetByName(“sd_itemlist”));
    itemList->removeAllChildrenAndCleanUp(true);
    调用后界面上itemList的子结点的元素都显示出来了

跟踪到代码里,元素已经删除了

未命名.jpg (5810 KB)