Page 1 of 1

One More Small AddApplicationMenuItem Problem

Posted: Wed Oct 21, 2009 12:59 pm
by johnham
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:
Image


One More Small AddApplicationMenuItem Problem

Posted: Thu Oct 22, 2009 12:38 am
by Jan
Hello,

Problem solved. Please check your email.

Thank you.