Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I'm losing my mind over this small problem. I'm trying to decrease the margin or padding around the menustrip text but can not seem to figure it out, or maybe it's not possible. What I have is a menustrip which is 24 in height and a label which has the same font and font size as the menustrip which is 16 in height. I want my menustrip to also be 16 in height but even after removing all margins and paddings, the menustrip does not decrease in height and is still 24 in height??? It looks like the padding will not decrease below 5.

I've tried docking the menustrip in a tablelayout which has a row set at 16, but all that does is reduces the padding at the bottom of my menustrip and not the top. I've also tried aligning the text to middle, but nothing happened.

Any help would be much appreciated.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900