JSM
JSM

Reputation: 241

ToolStripMenuItem checked not displayed correctly

I have set the menu item to checked with the following line in Visual Studio 2015 VB.

BS_ToolStripMenuItem.Checked = True

But the tick is not displaying correctly; I get the following

check box

Can anyone please tell me how you get tick to be centered?

Any assistance is much appreciated

Upvotes: 6

Views: 1648

Answers (2)

Adam Bruss
Adam Bruss

Reputation: 1674

For me the answer was to set the ImageScalingSize property of the containing ToolStrip to the size of the images on the toolstripitems. I had imagescaling set to None already. So for example my images were 16x16 and setting the imagescalingsize to 16,16 fixed the off center checkmark issue.

Upvotes: 2

JSM
JSM

Reputation: 241

I have found the the issue is to do with the 'scale to fit' property just switch is to'None'

Upvotes: 6

Related Questions