C
C#17mo ago
! Darko

Make Winform checkbox bigger

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