One More Small AddApplicationMenuItem Problem

Stimulsoft Reports.NET discussion
Post Reply
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

One More Small AddApplicationMenuItem Problem

Post 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

Thanks,
John Hamilton
Hamilton & Company, LLC
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

One More Small AddApplicationMenuItem Problem

Post by Jan »

Hello,

Problem solved. Please check your email.

Thank you.
Post Reply