I’m not sure what you mean here. Could you provide further explanation, or code, or perhaps a screenshot to illustrate the behaviour you’d like to see?
I am trying to add icons to the main menu item. I tried adding it by using icon:“images/i4.png” but am not able to see the image.
Image should appear next to the logout menu item.
I want to add a menu item called Logout which should be a part of the main menu but should appear on the right corner of the screen.
The Menu appears to be something like this as shown below.
File Window Help ------------------------------------------------------------------------------------------------------ Logout
-New -Insert
-Open -Properties
check your server-side logs to see what URL the image is being requested from. By default, supplying “images/i4.png” will go to “images/images/i4.png” because that is the default for AppImgDir - see the Skinning Guide for details
2 (or 3). Because Menubar is a Layout subclass, you can add a LayoutSpacer in the middle of the Menubar.buttons Array, with width:“*”