I was working with TidSDK's menus...
var menu2 = Ti.UI.createMenu();
//Create menu items
var subMenu1 = menu2.addItem('',function(){history.back();},'back.png');
Ti.UI.currentWindow.setMenu(menu2);
And I was wondering: is there a way to style them? Like height, width, background, icon-size, etc.
Unfortunately: no. The native menus are bound to the systems style. If a user changes the theme of his OS, the native menus in a TideSDK app will change their look, too.
If you want to have full styleable window/context menus, you will have to create them with HTML/CSS and control them via JavaScript.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With