StaticMenuItemControl.setTextImageGap

Sets the gap between the menu item text and any configured image. Any valid value for the CSS font-size property can be used.

Further documentation.

Examples:

 controls.STATICMENUITEM1.textImageGap = "30px";
 

Parameters

java.lang.String  textImageGap,