Hi there,
you could try to override the paint event of your context menu and then access the padding property:
- this.Padding = System.Windows.Forms.Padding
it would appear that this doesnt allow you to provide explicit values, but it does allow you to add or subtract 2 padding values. Thus you could define 2 padding values:
- System.Windows.Forms.Padding p1 = new Padding(1,2,3,4);
and then use these values in the calculation and gain a specific result.
for the style you could try:
- contextMenuStrip1.LayoutStyle = somestyle;
the deafult styles are found in ToolStripLayoutStyle, but i doubt that this is what you want. Short of creating a windows theme, i think you could play with the font, backcolor, width etc. to create your desired effect.
Good luck.