Cocos 2dx CClayer content size

Hello, can someone say why CCLayer setContentSize() doesn’t do anything it is always the same size (screen size ,super layer size in my case) , or is there other way to change the size of CCLayer?

You can scale a layer.