Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to control size of a radio button with appearance "Button"

I thought I was good at WinForms stuff but apparently that's not the case.

This application is for touchscreen hardware. I want only one of buttons to stay pressed so I made them radio buttons with appearance Button. It's working well but I can't control their size such as width and height. The radio button size is controlled by its text and font size. If this is for common windows application, this is not a problem. But it is an issue since I am developing it for touchscreen.

How can I control size of the radio buttons?

like image 727
Tae-Sung Shin Avatar asked Apr 10 '12 14:04

Tae-Sung Shin


1 Answers

Set the AutoSize property of your RadioButton to false.

like image 86
Adriano Repetti Avatar answered Oct 15 '22 16:10

Adriano Repetti