How to change intend between Items in MenuStrip or ContextMenustrip

suniligate

Newcomer
Joined
Aug 4, 2010
Messages
2
Hi i want to change the intend between the items in Contextmenu strip or Menustrip.

I am migrating an app from VB to .NET.The gap between one menu item to another menu item in VB is less compared to .NET intend.How to decrease this intend in .NET
 
I don't know if there is a simple way to do this. I suppose a MenuStrip is rendered with a ToolStripRenderer. You could write your own renderer. You might even be able to inherit the standard renderer and override one or two methods to make it happen.

If you really want your .NET menu look the same as a VB6 menu, the best thing to do would be to skip the MenuStrip and go with a standard MainMenu control. This isn't shown in the toolbox by default, but it can be added easily (right-click the toolbox and select "Choose Items..."). This will give you a standard windows menu.
 
Back
Top