I have one more small problem with AddApplicationMenuItem. AddApplicationMenuItem takes in text and image as parameters. Until today I had not selected to load an image/icon for my new Application Menu Items. However when you pass in Text AND an Image Icon, it does not lay the text beside the icon, but instead displays ONLY the icon centered in the application menu. I figure it is just a justification setting that is incorrect.
So to clarify with a picture. This code:
Code: Select all
Ribbon.AddApplicationMenuItem("Import Layout", new EventHandler(ImportReportLayout), new Bitmap(Assembly.GetCallingAssembly().GetManifestResourceStream("POSitiveSoftware.Images.Import.png")), 3);
produces this: