C
C#13mo ago
! Darko

Make Winform checkbox bigger

how?
No description
17 Replies
! Darko
! DarkoOP13mo ago
how to make the checkbox bigger? the font is big but the button stays small
RD Dev
RD Dev13mo ago
set the Size property of the checkbox control. Adjust the Width and Height values to make it larger.
! Darko
! DarkoOP13mo ago
where is that?
RD Dev
RD Dev13mo 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
! DarkoOP13mo ago
where is the control?
! Darko
! DarkoOP13mo ago
No description
! Darko
! DarkoOP13mo ago
if i change Size there it dosen't change the size of the box
RD Dev
RD Dev13mo ago
oh your on vs2022. I thought you're in VS Code.
! Darko
! DarkoOP13mo ago
yes
RD Dev
RD Dev13mo 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
! DarkoOP13mo ago
ANY1 ELSE
Denis
Denis13mo 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
! DarkoOP13mo ago
ik
! Darko
! DarkoOP13mo ago
No description
! Darko
! DarkoOP13mo ago
there is nothing for the checkbox @Denis like to make the box bigger
Denis
Denis13mo 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
CrashDummie
CrashDummie13mo 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?