程序中加入两个Widget出现响应冲突,如何设置?

Play_System = cocostudio::GUIReader::getInstance()->widgetFromJsonFile("PLAY_MANAGE_1/PLAY_MANAGE_1.json");

this->addChild(Play_System);

 dynamic_cast<Button*>(Helper::seekWidgetByName(Play_System,"Button_exit"))->addTouchEventListener(this,toucheventselector(Player_Manage::touchGameButton));

Play_System->setTouchEnabled(true);


Num_Box = cocostudio::GUIReader::getInstance()->widgetFromJsonFile("IN_1/IN_1.json");

this->addChild(Num_Box);

如果把Num_Box加进去了,Play_System就没反应了

现在只有小框框里有反应,外面的“X"按钮没反应了

Num_Box的尺寸过大,把后面遮挡住了

解决方法,在cocostudio中更改尺寸,把空白的地方去除就可以了。