C
C#2y ago
! Darko

Make Winform checkbox bigger

how?
No description
17 Replies
! Darko
! DarkoOP2y ago
how to make the checkbox bigger? the font is big but the button stays small
RD Dev
RD Dev2y ago
set the Size property of the checkbox control. Adjust the Width and Height values to make it larger.
! Darko
! DarkoOP2y ago
where is that?
RD Dev
RD Dev2y ago
oh I forgot about you sorry! locate the checkbox control, and then set its Size property. For example: yourCheckBox.Size = new System.Drawing.Size(width, height);
! Darko
! DarkoOP2y ago
where is the control?
! Darko
! DarkoOP2y ago
No description
! Darko
! DarkoOP2y ago
if i change Size there it dosen't change the size of the box
RD Dev
RD Dev2y ago
oh your on vs2022. I thought you're in VS Code.
! Darko
! DarkoOP2y ago
yes
RD Dev
RD Dev2y ago
AutoSize to false. If doesn't work try resetting VS2022. I don't use it that much so I really don't know the problem. Or try to access the Check Box code and change it there
! Darko
! DarkoOP2y ago
ANY1 ELSE
Denis
Denis2y ago
The properties window shows the currently active control. If no control is active, it shows the window properties. Thus, you need to click your checkbox to reveal its properties and set it according to the suggestions above
! Darko
! DarkoOP2y ago
ik
! Darko
! DarkoOP2y ago
No description
! Darko
! DarkoOP2y ago
there is nothing for the checkbox @Denis like to make the box bigger
Denis
Denis2y ago
Then it is probably going to be more complicated. So far I was not able to find a descent source I could provide you. WinForms in general is not the most custom-style friendly UI framework WPF, Avalonia, .NET MAUI are better made for that
Delta
Delta2y ago
Imagine creating winform projects in vs code. I don't believe code has designer support OTB for winforms. Maybe there's an extention I'm not aware of?

Did you find this page helpful?