简体   繁体   中英

How to increase the size of the CheckBox in ToolStripMenuItem?

I'm using ContextMenuStripper and added some ToolStripMenuItem . I have enabled CheckOnClick . The checkbox rendering is looks fine in 100_DPI, but in 200_DPI, the checkbox is not scaling properly based on DPI factor.

How can we increase the size of the CheckBox? Please share your ideas.

Reference Links: Link

Thanks and Regards,

Sindhu

100dpi200dpi

Not sure which platform you're using, but if you are using winforms, try to change the form's property AutoScaleMode from Font to Dpi to see if it helps.

I also found the tutorial: How to: Configure MenuStrip Check Margins and Image Margins . You can try to change the margin of the check and see if it works out.

One possible solution is set the ImageScaling property from None to SizeToFit along with the upper AutoScaleMode . Could you give it a try if these work?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM