I tried the toggleMenu
var Speed_menuItem = cc.MenuItemToggle.create( this, this.SpeedToggle,speedlvl1_label, speedlvl2_label, speedlvl0_label);
wherein the labels are
var speedlvl1_label = cc.MenuItemFont.create(“slide slow”);
lvl 2 being set to “slide quick” and speedlvl0 is set to “immobile”
however when on screen the zone in which the “toggling” takes place is very small and limited sort of to the first 5 letters and weirdly enough below the letters as shown on screen.
Where can I define the selection zone ? in the debuger , the content size property appears to be correct ( 30 * 80)
and browsing through the documentation, I could not find any element…
could someone please tell how is defined the bounding box (?) such that touch events are captured by this menu item ?
thanks & regards