Strange scaling problem with CCControlButton/CCBReader and retina display

Hi there,

I’ve built my interface using CocosBuilder, and import it into my cocos2d-x project using CCBReader. This all works fine, apart from when I enable retina display. On retina devices I see some really strange scaling, where the middle of the CCControlButton image is “punched” out. Please see the attached image for a sample (normal size on the left, retina on the right).

I’ve played around with various settings but can’t seem to solve this. Does anybody know why this is happening? It’s all quite strange…

Thanks for your help,

Ben


std_retina_comparison.png (204.7 KB)