C
C#12mo ago
! Darko

Make Winform checkbox bigger

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