How to change position of EGLView

I can change frame size but i would like to move my view for example to top of the screen.

Also when i change frame size my all touches in application has strange offset.

So anyone can help how to change position of my EGLView ?

Bump

I know how to change frame size in `CCEGLView` but i don’t know how to move my frame. When i change frame size i have a black space above my application it is ok but how i can make it to be below my application?

Also when changing frame size all touches in application have strange offset.

I try to set view port but nothing changes.

Cocos2d-x now only supports full-screen openglview. Therefore, the functionality you want is not supported.
But you could simply achieve that by setting your scene’s position instead. Thanks.
Cocos2d-x now only supports full-screen openglview. Therefore, the functionality you want is not supported.
But you could simply achieve that by setting your scene’s position instead. Thanks.